Nope - do it as root
This commit is contained in:
parent
613d84f5d5
commit
49addcaaa8
@ -622,10 +622,10 @@ def configure_lxd_host(settings, user):
|
||||
if ubuntu_release > "vivid":
|
||||
log('>= Wily deployment - configuring LXD trust password and address',
|
||||
level=INFO)
|
||||
cmd = ['sudo', '-u', user, 'lxc', 'config', 'set',
|
||||
cmd = ['lxc', 'config', 'set',
|
||||
'core.trust_password', settings['lxd_password']]
|
||||
check_call(cmd)
|
||||
cmd = ['sudo', '-u', user, 'lxc', 'config', 'set',
|
||||
cmd = ['lxc', 'config', 'set',
|
||||
'core.https_address', settings['lxd_address']]
|
||||
check_call(cmd)
|
||||
elif ubuntu_release == "vivid":
|
||||
|
Loading…
x
Reference in New Issue
Block a user