modified: usr/sbin/arch-qemu-install
modified: usr/sbin/basha
This commit is contained in:
@@ -29,11 +29,12 @@ qemu-system-x86_64 \
|
|||||||
-m "$RAM" \
|
-m "$RAM" \
|
||||||
-cpu host \
|
-cpu host \
|
||||||
-smp "$CPUS" \
|
-smp "$CPUS" \
|
||||||
-boot d \
|
|
||||||
-cdrom "$ISO" \
|
-cdrom "$ISO" \
|
||||||
-drive file="$IMG",format=qcow2 \
|
-nic user \
|
||||||
-device virtio-vga \
|
-drive file="$IMG",format=qcow
|
||||||
-display default,show-cursor=on \
|
#-boot d \
|
||||||
-nic user,hostfwd=tcp::2222-:22 \
|
# -netdev user,id=net0,dns=1.1.1.1 \
|
||||||
-virtfs local,id=share,path="$SHARE",security_model=none,mount_tag=hostshare
|
# -device virtio-net-pci,netdev=net0 \
|
||||||
|
# -display default,show-cursor=on \
|
||||||
|
# -virtfs local,id=share,path="$SHARE",security_model=none,mount_tag=hostshare
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
|
||||||
if [ "$#" -lt 1 ] || [ "$#" -gt 1 ]; then
|
if [ "$#" -lt 1 ] ; then
|
||||||
echo "Usage: $0 alias"
|
echo "Usage: $0 alias"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user