[Invalid] VBoxManage modifymedium --setlocation unknown option
Posted: 14. Oct 2019, 03:52
I copied a VM directory from my machine to a remote machine with no GUI access, so I'm trying to figure out how to configure it on the remote machine using VBoxManage (version 5.1.38). I would like to point the VM's storage medium to a different location on the remote machine. From https://www.virtualbox.org/manual/ch08. ... -modifyvdi, I tried the following command -
How do I change path for the hard disk to point to a new path?
Code: Select all
[remote machine] $ VBoxManage modifymedium disk fb872a9f-bf14-4119-a5a4-22b2f823fafc --setlocation /path/to/vdi/on/remote/machine
Oracle VM VirtualBox Command Line Management Interface Version 5.1.38_Ubuntu
(C) 2005-2019 Oracle Corporation
All rights reserved.
Usage:
VBoxManage modifymedium [disk|dvd|floppy] <uuid|filename>
[--type normal|writethrough|immutable|shareable|
readonly|multiattach]
[--autoreset on|off]
[--property <name=[value]>]
[--compact]
[--resize <megabytes>|--resizebyte <bytes>]
[--move <path>]
Syntax error: unknown option: --setlocation