You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
453 B
14 lines
453 B
#!/bin/bash
|
|
|
|
set -xeuo pipefail
|
|
|
|
script_dirname="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
|
outdir="${script_dirname}/_output"
|
|
|
|
sudo qemu-system-x86_64 -kernel "/boot/vmlinuz" \
|
|
-boot c -m 3073M -hda "${outdir}/rootfs/hirsute-server-cloudimg-amd64.img" \
|
|
-net user \
|
|
-smp 8 \
|
|
-append "root=/dev/sda rw console=ttyS0,115200 acpi=off nokaslr" \
|
|
-nic user,hostfwd=tcp::2222-:22,hostfwd=tcp::6443-:6443 \
|
|
-serial mon:stdio -display none |