1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Feature #1684: Switch to login shell by default. Use restart in context triggering

This commit is contained in:
Daniel Clavijo Coca 2019-02-05 09:34:22 -06:00 committed by Ruben S. Montero
parent 4b412684ec
commit 65bdfe6e12
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@
# - :height: of the terminal
# - :timeout: seconds to close the terminal if no input has been received
:vnc:
:command: /bin/bash
:command: /bin/login
:width: 800
:height: 600
:timeout: 300

View File

@ -40,6 +40,6 @@ container = Container.get(vm_name, xml, client)
raise 'Failed to attach context' unless container.attach_context
rc, _out, err = container.exec('service one-context-reconfigure start')
rc, _out, err = container.exec('service one-context-reconfigure restart')
OpenNebula.log_error "Failed to run recontextualization service \n#{err}" unless rc.zero?