Skip to content

Instantly share code, notes, and snippets.

@vietvudanh
Last active July 28, 2020 05:35
Show Gist options
  • Select an option

  • Save vietvudanh/b7e67856f1ff2233cae41892402a6faf to your computer and use it in GitHub Desktop.

Select an option

Save vietvudanh/b7e67856f1ff2233cae41892402a6faf to your computer and use it in GitHub Desktop.

Revisions

  1. vietvudanh revised this gist Jul 28, 2020. 1 changed file with 5 additions and 3 deletions.
    8 changes: 5 additions & 3 deletions vbox.sh
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,10 @@
    # list
    VboxManage list vms
    VboxManage list runningvms
    vboxmanage list vms
    vboxmanage list runningvms

    # start
    VM=cent7_1
    VboxManage startvm $VM --type headless
    vboxmanage startvm $VM --type headless

    # stop
    vboxmanage controlvm Ubuntu poweroff soft
  2. vietvudanh created this gist Jul 28, 2020.
    8 changes: 8 additions & 0 deletions vbox.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    # list
    VboxManage list vms
    VboxManage list runningvms

    # start
    VM=cent7_1
    VboxManage startvm $VM --type headless