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:
parent
4b412684ec
commit
65bdfe6e12
@ -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
|
||||
|
@ -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?
|
||||
|
Loading…
x
Reference in New Issue
Block a user