On Fri, Nov 21, 2014 at 2:39 PM, Gregory Nowak <g...@gregn.net> wrote: > On Fri, Nov 21, 2014 at 02:01:54PM -0800, Kenneth Wolcott wrote: >> I'd like to give them a choice to rename the name of the VirtualBox >> Guest OS from a script that is running VBoxManage to configure >> VirtualBox so that they don't need to make the configuration changes >> from the VirtualBox GUI. > > You can't do this using vboxmanage as far as I know. You might be able > to import, do vboxmanage unregistervm, rename files/xml elements in > the .pref files, and the disk images, and do vboxmanage registervm, > but I haven't tried this.
Thanks for the hint; I'll try it. I did notice that the "VBoxManage import" usage suggested that I do a "-n" for more info. When I did that it looks like I have an option to rename the Guest OS at the point of import, which is much easier than trying to rename it after the import. Looks like more experimentation is in order. >> I've read the VIrtualBox Users Guide several times now and I've >> missed how I could use VBoxManage to change the name of an imported >> appliance. >> >> More generally, I'm not even certain how to import the *ova image >> via VBoxManage, and I need to be able to do that (obviously). > > vboxmanage import --help > > will give you the syntax. Awesome :-) I did notice that "VBoxManage import" sufficed to provide usage. >> One more (slightly related) question is how to make certain that the >> "NAT Network" and "Host-only" VirtualBox network types are enabled >> prior to starting the VirtualBox guest OS that I've imported, as I'm >> making use of those two network types and I'd rather not explain how >> to make certain that these network types have already been enabled (or >> not) via the VirtualBox GUI. > > vboxmanage modifyvm vmname --nic<n> nat > vboxmanage modifyvm vmname --nic<n> hostonly > > where vmname is the name of the guest, and <n> is the network > interface number Again thanks for pointing in the right direction; there are lots of subcommands for VBoxManage :-) I greatly appreciate the gentle pointers! Ken Wolcott ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ VBox-users-community mailing list VBox-users-community@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vbox-users-community _______________________________________________ Unsubscribe: mailto:vbox-users-community-requ...@lists.sourceforge.net?subject=unsubscribe