From e16ef52b794eecb582fc27399f1671e8a19572d8 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Tue, 5 Sep 2017 19:39:12 +0200 Subject: we should really install on a Pentium II with virt-install! --- createvm.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'createvm.sh') 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 -- cgit v1.2.3-54-g00ecf