242
edits
m (zfs disk replacement instructions) |
|||
Line 193: | Line 193: | ||
# Start and have fun | # Start and have fun | ||
# Add it to this wiki page | # Add it to this wiki page | ||
==== Via CLI ==== | |||
'''Note: We should probably create a wrapper script to make this easier, to enforce naming conventions, run Ansible, and other devops-esque stuff''' | |||
Find an available "ID". Lets try and keep the contiguous: | |||
qm list | |||
View available ISOs (Or upload your ISO to the same directory) | |||
ls /var/lib/vz/template/iso | |||
Create the VM | |||
qm create [ID] --name [NAME] -cdrom [PATH TO ISO] --memory 512 [RAM] --cores [CORES] --net0 [INTERFACE] --scsi0 [LOCATION,SIZE] | |||
Example of a Debian VM with a single core, 512MB of RAM, 10G HDD and connected to the "Bridge" interface | |||
qm create 104 --name "qm-test" --cdrom /var/lib/vz/template/iso/debian-9.4.0-amd64-netinst.iso --memory 512 --cores 1 --net0 "virtio,bridge=vmbr0" --scsi0 "file=peter:32,discard=on,size=10G" | |||
=== Check RAID array status ==== | === Check RAID array status ==== | ||
(As root): | (As root): | ||
doodles doodles. | doodles doodles. |
edits