Changes between Version 13 and Version 14 of IniciarMVDuranteArranque
- Timestamp:
- 29/04/15 10:32:16 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
IniciarMVDuranteArranque
v13 v14 22 22 chmod 1775 /etc/vbox 23 23 }}} 24 Create the /etc/vbox/autostart.conf and add this users that you want autostart to be enabled, my users for running the virtual machines is vbox25 24 26 vi /etc/vbox/autostart.conf 27 25 3. Crear '''/etc/vbox/autostart.conf''' y agregar los usuarios habilitados para iniciar automatico de las MVs, en este caso el usuario '''vbox''' 26 {{{ 27 nano /etc/vbox/autostart.conf 28 }}} 29 {{{ 28 30 # Default policy is to deny starting a VM, the other option is "allow". 29 31 default_policy = deny … … 35 37 startup_delay = 10 36 38 } 39 }}} 37 40 38 Now login as vbox and enable autostart on the machines you want to start automatically, i will do it for two machines called VirtualMachine1 and VirtualMachine2 41 4. Loguearse como '''vbox''' y habilitar el inicio automatico para las MVs que es necesario, en este caso MV1 y MV2 42 {{{ 43 VBoxManage setproperty autostartdbpath /etc/vbox 44 VBoxManage modifyvm MV1 --autostart-enabled on 45 VBoxManage modifyvm MV2 --autostart-enabled on 46 }}} 39 47 40 VBoxManage setproperty autostartdbpath /etc/vbox 41 VBoxManage modifyvm VirtualMachine1 --autostart-enabled on 42 VBoxManage modifyvm VirtualMachine2 --autostart-enabled on 43 44 Now, as root run this command, or reboot your server: 45 46 /etc/init.d/vboxautostart-service start 48 5. Como root, ejecutar este comando o reiniciar el servidor: 49 {{{ 50 /etc/init.d/vboxautostart-service start 51 }}}