Skip to content

Instantly share code, notes, and snippets.

@kevin39
Created June 7, 2018 13:34
Show Gist options
  • Save kevin39/795aae134f22cef2cc807f17dd509516 to your computer and use it in GitHub Desktop.
Save kevin39/795aae134f22cef2cc807f17dd509516 to your computer and use it in GitHub Desktop.
pct list |awk 'FNR > 1 {print "VMID=" $1 " - " $3}'
qm list |awk 'FNR > 1 {print "VMID=" $1 " - " $2}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment