Track only selected configs
This commit is contained in:
21
etc/systemd/system/proxmox-vm.service
Normal file
21
etc/systemd/system/proxmox-vm.service
Normal file
@@ -0,0 +1,21 @@
|
||||
[Unit]
|
||||
Description=Proxmox VM (QEMU)
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/qemu-system-x86_64 \
|
||||
-enable-kvm \
|
||||
-cpu host \
|
||||
-m 4096 \
|
||||
-smp 4 \
|
||||
-drive file=/root/proxmox-disk.qcow2,format=qcow2 \
|
||||
-boot order=c \
|
||||
-nographic \
|
||||
-netdev user,id=net0,hostfwd=tcp::2222-:22,hostfwd=tcp::8006-:8006 \
|
||||
-device virtio-net-pci,netdev=net0
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Reference in New Issue
Block a user