Building a Dell OS10 Vagrant Libvirt Box

Dell OS10 is supported by the netlab libvirt package command.

Warning

  • Download the OS10 ZIP archive into an empty directory

  • Unzip the archive with the unzip zip-file-name command

  • Execute netlab libvirt package dellos10 OS10-Disk-1.0.0.vmdk[1] and follow the instructions

Tip

The box-building process creates a Vagrant box based on the S5224F platform. If you’d like to work with a different switch model, you’ll have to fix the installation script; if you make the platform selection configurable, please submit a Pull Request.

Initial Device Configuration

You’ll have to copy-paste the initial device configuration during the box-building process. netlab libvirt config dellos10 command displays the build recipe:

Creating initial configuration for Dell OS10
=============================================

* Wait for the 'login' prompt, and then wait again some more minutes
* Login as 'admin' (password: 'admin')
* Disable zero-touch ('ztd cancel')
* Save configuration ('write memory') and reload the box ('reload')
* Login as 'admin' (password: 'admin')
* Enter configuration mode ('configure')
* Copy-paste the following configuration

NOTE: the management traffic is isolated in a dedicated management VRF (management).

=============================================
!
interface mgmt1/1/1
  no ip address dhcp
  no ipv6 address
  exit
!
ip vrf management
  interface management
  exit
!
interface mgmt1/1/1
  no shutdown
  ip address dhcp
  exit
!
service simple-password
username vagrant password vagrant role sysadmin priv-lvl 15
username vagrant sshkey "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6NF8iallvQVp22WDkTkyrtvp9eWW6A8YVr+kz4TjGYe7gHzIw+niNltGEFHzD8+v1I2YJ6oXevct1YeS0o9HZyN1Q9qgCgzUFtdOKLv6IedplqoPkcmF0aYet2PkEDo3MlTBckFXPITAMzF8dJSIFo9D8HfdOV0IAdx4O7PtixWKn5y2hMNG0zQPyUecp4pzC6kivAIhyfHilFR61RGL+GPXQ2MWZWFYbAGjyiYJnAmCP3NOTd0jMZEnDkbUvxhMmBYSdETk1rRgm+R4LOzFUGaHqHDLKLX+FIPKcF96hrucXzcWyLbIbEgE98OHlnVYCzRdK8jlqm8tehUc9c9WhQ== vagrant insecure public key"
!
end
=============================================

* Save configuration ('write memory') and reload the box ('reload')
* Wait until the reload is completed
* Disconnect from console (ctrl-] usually works).

Ansible Galaxy for Dell OS10

You must install the Ansible modules for Dell OS10 with the ansible-galaxy collection install dellemc.os10 command.