Compare commits

..

No commits in common. "360a75b594d3e325cc20b77012be6d92ef28aff9" and "3efcb4526367ba3301e80039ba54f58e5dc42aab" have entirely different histories.

3 changed files with 10 additions and 9 deletions

View file

@ -46,7 +46,7 @@ public_start() {
local vm_name="$1" local vm_name="$1"
shift shift
screen -S "$vm_name" "$vm_name" "$@" screen -d -m -S "$vm_name" "$vm_name" "$@"
} }
public_watch() { public_watch() {

View file

@ -2,6 +2,6 @@
[ "$(whoami)" != root ] && exec sudo "$0" "$@" [ "$(whoami)" != root ] && exec sudo "$0" "$@"
apt-get clean apt-get clean
apt-get update apt-get update
apt-file update
apt-get upgrade apt-get upgrade
apt-get autopurge apt-get autopurge

View file

@ -2,9 +2,10 @@
name="$(basename "$0")" name="$(basename "$0")"
qemu-system-x86_64 \ qemu-system-x86_64 \
-monitor stdio -enable-kvm \ -monitor stdio -enable-kvm \
-cpu host -smp "$(("$(nproc)" / 2))" \ -cpu host -smp "$(nproc)" \
-m 8G \ -m 4G \
-hda "images/${name}.qcow2" \ -drive "file=images/$(basename "$0").qcow2,if=virtio" \
-net nic \ -net nic -net "user,hostname=${name}" \
-name "$name" \ -name "$name" \
"$@" "$@"