A: I can not get network support to work with this script (maybe it never worked for me before, i did not test)...
with the following commands it works fine (just a test in a cmd file)...
set vmname=CC-7PE 2010_Box set vboxmanager="C:\Program Files\Sun\VirtualBox\VBoxManage.exe" set iso=c:\CCRescue 2010\ISO\cc7pe.iso %vboxmanager% createvm --name "%vmname%" --ostype "Windows7" --register --basefolder "c:\ddd" %vboxmanager% storagectl "%vmname%" --name "IDE Controller" --add ide %vboxmanager% storageattach "%vmname%" --storagectl "IDE Controller" --port 0 --device 0 --type dvddrive --medium "%iso%" %vboxmanager% modifyvm "%vmname%" --vram 32 --usb on --usbehci on --memory 1024 --nic1 nat --boot1 dvd --boot2 none --boot3 none --boot4 none pause %vboxmanager% startvm "%vmname%" pause exit
as you can see i set nic 1 to nat...this works fine for me...
Edit: i was a bit irritated by the script interface: why is there an option to select between three networking optione (None,NAT,Bridge) and obove this an option "Use NIC bridge mode..." ? Does not make sense to me...can someone explain ? Thanks!
B: Another Problem is that my vbox manager now shows several virtual boxes that were removed by the script..they still stay in the list...
C: please add the option to set up to 2GB of ram (for some situations this is helpfull...)
D: Adding harddisks (using the script interface) seems to do nothing..i can not see any discs in PE...
Edit: I manually added a HD to the created VM and it shows up fine in PE..so there must be some problem with the script not adding the disks right...
Attached a logfile of running an existatnt iso in VB