Skip to content

Instantly share code, notes, and snippets.

@328
Created February 21, 2015 04:06
Show Gist options
  • Save 328/8e1e645a26e15125cdc3 to your computer and use it in GitHub Desktop.
Save 328/8e1e645a26e15125cdc3 to your computer and use it in GitHub Desktop.
KVMにVyOSいれるやつ
#!/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
@328
Copy link
Author

328 commented Feb 21, 2015

固定IPアドレスを振るのは後でやる.
とりあえず設定はこれくらいかね.しばらく遊んでみる

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment