https://github.com/cidrblock/virtual_appliances
Build virtual nxos and eos appliance on Centos with KVM
https://github.com/cidrblock/virtual_appliances
arista centos cisco eos kvm nexus nxos poap ztp
Last synced: over 1 year ago
JSON representation
Build virtual nxos and eos appliance on Centos with KVM
- Host: GitHub
- URL: https://github.com/cidrblock/virtual_appliances
- Owner: cidrblock
- Created: 2019-02-15T15:52:53.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-20T19:56:49.000Z (about 7 years ago)
- Last Synced: 2025-02-27T04:23:35.135Z (over 1 year ago)
- Topics: arista, centos, cisco, eos, kvm, nexus, nxos, poap, ztp
- Language: Python
- Homepage:
- Size: 36.1 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## vyos prep
```
cp vyos-1.2.0-rolling+201905140337-amd64.iso vyos.iso
sudo rm vyos.img
qemu-img create vyos.img 2G
/usr/libexec/qemu-kvm -nographic -m 6144 \
-smp 2 -enable-kvm \
-serial telnet:localhost:8888,server,nowait \
-netdev user,id=net0 \
-device e1000,netdev=net0 \
-drive file=vyos.img,if=ide,format=raw \
-cdrom vyos.iso
install image
/usr/libexec/qemu-kvm -nographic -m 6144 \
-smp 2 -enable-kvm \
-serial telnet:localhost:8888,server,nowait \
-netdev user,id=net0 \
-device e1000,netdev=net0 \
-drive file=vyos.img,if=ide,format=raw
configure
set system login user admin authentication plaintext-password password
set system login user bthornto authentication plaintext-password password
set system login user admin level admin
set system login user bthornto level admin
set service ssh
delete interfaces ethernet eth0 hw-id
set service lldp
commit
save
sudo rm vyos.qcow2
qemu-img convert -f raw -O qcow2 vyos.img vyos.qcow2
```