VBoxManage: Difference between revisions

Creating cheat sheet for VBoxManage
 
adds meld process substitution command to show difference of list --long v. showvminfo --details
Line 15: Line 15:


;VBoxManage showvminfo vmname --details : Show the details of your machine
;VBoxManage showvminfo vmname --details : Show the details of your machine
: Upon first look, this command seems to be the same as <code>list --long</code>, but there is a bit '''more information''' in <code>showvminfo</code>
: For comparison, try <code>meld <$(VBoxManage list --long vms) <$(VBoxManage showvminfo vagrant_default_1418918147177_40503 --details)</code>


;VBoxManage modifyvm vmname --memory 2048 : Give the vm 2 GB of RAM (Note that this will not persist if your VM is defined by Vagrant.  To persist changes in [[Vagrant]], you would modify the Settings-rb)
;VBoxManage modifyvm vmname --memory 2048 : Give the vm 2 GB of RAM (Note that this will not persist if your VM is defined by Vagrant.  To persist changes in [[Vagrant]], you would modify the ''Vagrantfile-extra.rb'' file)


;VBoxManage import <ovfname/ovaname> --dry-run : import an appliance that you exported somewhere else
;VBoxManage import <ovfname/ovaname> --dry-run : import an appliance that you exported somewhere else