Changes between Version 13 and Version 14 of IniciarMVDuranteArranque


Ignore:
Timestamp:
29/04/15 10:32:16 (10 years ago)
Author:
jguerra
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IniciarMVDuranteArranque

    v13 v14  
    2222 chmod 1775 /etc/vbox 
    2323}}} 
    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 vbox 
    2524 
    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{{{ 
    2830# Default policy is to deny starting a VM, the other option is "allow". 
    2931default_policy = deny 
     
    3537 startup_delay = 10 
    3638} 
     39}}} 
    3740 
    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 
     414. 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}}} 
    3947 
    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 
     485. Como root, ejecutar este comando o reiniciar el servidor: 
     49{{{ 
     50 /etc/init.d/vboxautostart-service start 
     51}}}