diff options
Diffstat (limited to 'createvm.sh')
-rwxr-xr-x | createvm.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/createvm.sh b/createvm.sh index 73dcef0..541428b 100755 --- a/createvm.sh +++ b/createvm.sh @@ -22,7 +22,7 @@ wait_for_vm_to_stop() { done } -mount -o loop,ro mirror/archisos/archlinux-2017.08.01-i686.iso archiso +mount -o loop,ro mirror/archisos/archlinux-2017.09.03-i686.iso archiso cp archiso/arch/boot/i686/vmlinuz . cp archiso/arch/boot/i686/archiso.img . @@ -31,7 +31,7 @@ darkhttpd . --port 8080 & virt-install --name ${NAME} -r 2048 --vcpus=1 --os-type=linux --os-variant=virtio26 \ --disk pool=default,size=2,format=qcow2 --network bridge=br0,model=virtio \ - --vnc --vncport=5901 --noreboot \ + --vnc --vncport=5901 --noreboot --arch i686 --cpu pentium2 \ --boot kernel=vmlinuz,initrd=archiso.img,kernel_args="archisobasedir=archiso/arch archiso_http_srv=http://${HOST}:8080/ script=http://${HOST}:8080/archauto.sh ip=${CLIENT}:::${NETMASK}:arch32::off nomodeset i915.modeset=0" & # --noautoconsole sleep 5 |