all recent config changes
This commit is contained in:
22
hosts/main/run
Executable file
22
hosts/main/run
Executable file
@@ -0,0 +1,22 @@
|
||||
#!/bin/sh
|
||||
|
||||
qemu-system-x86_64 \
|
||||
-enable-kvm \
|
||||
-kernel /cachy/boot/vmlinuz-linux-cachyos \
|
||||
-initrd /cachy/boot/initramfs-linux-cachyos.img \
|
||||
-fsdev local,id=rootfs,path=/cachy,security_model=none \
|
||||
-device virtio-9p-pci,fsdev=rootfs,mount_tag=rootfstype \
|
||||
-append "rootfstype=9p root=arch_root rootflags=trans=virtio,version=9p2000.L,msize=1048576 rw console=ttyS0 console=tty loglevel=7 " \
|
||||
-device virtio-9p-pci,fsdev=rootfs,mount_tag=arch_root \
|
||||
-fsdev local,id=workfs,path=/home/me/work,security_model=none \
|
||||
-device virtio-9p-pci,fsdev=workfs,mount_tag=work_share \
|
||||
-netdev user,id=vmnat,hostfwd=tcp::2222-:22 -device e1000,netdev=vmnat \
|
||||
-m 4G -cpu host "$@"\
|
||||
|
||||
#-append "console=ttyS0 console=tty rootflags=subvol=cachy rw rd.luks.name=f93d0e0c-c620-4d39-bd6a-a7c0c90fb850=root root=/dev/mapper/root systemd.setenv=SYSTEMD_SULOGIN_FORCE=1" \
|
||||
#-append "init=/bin/bash systemd.setenv=SYSTEMD_SULOGIN_FORCE=1 rootfstype=9p root=arch_root rootflags=trans=virtio,version=9p2000.L,msize=1048576 rw console=ttyS0 loglevel=7" \
|
||||
#-nographic \
|
||||
|
||||
#-device virtio-scsi-pci,id=scsi0 \
|
||||
#-drive file=/dev/disk/by-id/nvme-CT2000T500SSD8_240446CB0BC2,format=raw,if=none,id=hd0,cache=none,aio=native \
|
||||
#-device scsi-hd,drive=hd0,bus=scsi0.0 \
|
||||
Reference in New Issue
Block a user