Created
February 21, 2015 04:06
-
-
Save 328/8e1e645a26e15125cdc3 to your computer and use it in GitHub Desktop.
KVMにVyOSいれるやつ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
NAME=vyos | |
qemu-img create -f raw vyos.img 2G | |
virt-install \ | |
--connect qemu:///system \ | |
--name ${NAME} \ | |
--vcpus 1 \ | |
--ram 512 \ | |
--network bridge=br0 \ | |
--file /var/lib/libvirt/images/${NAME}.img \ | |
--file-size 2 \ | |
--cdrom /var/lib/libvirt/images/vyos-1.1.3-amd64.iso \ | |
--accelerate \ | |
--nographics |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
固定IPアドレスを振るのは後でやる.
とりあえず設定はこれくらいかね.しばらく遊んでみる