VBoxManage list ostypes
VBoxManage createvm --name "centos8" --ostype RedHat_64 --basefolder /vbox --register
VBoxManage modifyvm "centos8" --memory 2048 --acpi on --boot1 dvd --nic1 nat
VBoxManage createmedium --size 40960 --format VDI --filename /vbox/centos8/centos8.vdi
VBoxManage storagectl "centos8" --name "IDE Controller" --add ide --controller PIIX4 --bootable on
VBoxManage storagectl "centos8" --name "SATA Controller" --add sata --controller IntelAHCI
VBoxManage storageattach "centos8" --storagectl "IDE Controller" --port 0 --device 0 --type hdd --medium /vbox/centos8/centos8.vdi
VBoxManage storageattach "centos8" --storagectl "IDE Controller" --port 1 --device 0 --type dvddrive --medium /virtualbox_systems/CentOS-8.5.2111-x86_64-dvd1.iso
VBoxManage modifyvm "centos8" --vrde on
VBoxManage startvm "centos8" --type headless
vbox命令行创建centos8虚拟机
最新推荐文章于 2024-08-03 14:10:45 发布