Difference between revisions of "Vnx-rootfskvmvyos"

From VNX
Jump to: navigation, search
(Basic installation)
(Basic installation)
Line 17: Line 17:
 
<li>Login with vyos/vyos and execute:</li>
 
<li>Login with vyos/vyos and execute:</li>
 
  install image
 
  install image
Answer all questions with the default values.
+
<li>Answer all the installation questions with the default values. Once installed, stop the virtual machine with:</li>
 +
poweroff
 +
<li>Restart the VM with:</li>
 +
vnx --modify-rootfs vnx_rootfs_kvm_vyos64-1.1.7-v025.qcow2 --update-aced --mem 512M --arch x86_64
 +
 
 +
 
 
</ul>
 
</ul>

Revision as of 12:09, 30 August 2017

How to create a KVM VyOS root filesystem for VNX

Basic installation

[VyOS] is an open source network operating system that is based on Debian GNU/Linux and that joins multiple applications such as Quagga, ISC DHCPD, OpenVPN, StrongS/WAN and others under a single management interface. It can be installed on physical hardware or on virtual machines and it is a community fork of [Vyatta].

Follow this procedure as a root user to create a VyOS based KVM root filesystem for VNX. The procedure has been tested with VyOS 1.1.7 over a Ubuntu 16.04 system.

  • Create the filesystem disk image:
  • qemu-img create -f qcow2 vnx_rootfs_kvm_vyos64-1.1.7-v025.qcow2 8G
    
  • Get VyOS installation CD:
  • wget http://packages.vyos.net/iso/release/1.1.7/vyos-1.1.7-amd64.iso
    cp vyos-1.1.7-amd64.iso /almacen/iso
    
  • Create the virtual machine with:
  • vnx --create-rootfs vnx_rootfs_kvm_vyos64-1.1.7-v025.qcow2 --install-media /almacen/iso/vyos-1.1.7-amd64.iso --mem 512M --arch x86_64
    
  • Login with vyos/vyos and execute:
  • install image
    
  • Answer all the installation questions with the default values. Once installed, stop the virtual machine with:
  • poweroff
    
  • Restart the VM with:
  • vnx --modify-rootfs vnx_rootfs_kvm_vyos64-1.1.7-v025.qcow2 --update-aced --mem 512M --arch x86_64