alternative radvd restart command added
This commit is contained in:
parent
46c14306ec
commit
66b7cf525f
1 changed files with 4 additions and 3 deletions
|
@ -103,9 +103,10 @@ def update_radvd_conf(etcd_client):
|
|||
|
||||
with open('/etc/radvd.conf', 'w') as radvd_conf:
|
||||
radvd_conf.writelines(content)
|
||||
|
||||
sp.check_output(['systemctl', 'restart', 'radvd'])
|
||||
|
||||
try:
|
||||
sp.check_output(['systemctl', 'restart', 'radvd'])
|
||||
except Exception:
|
||||
sp.check_output(['service', 'radvd', 'restart'])
|
||||
|
||||
def get_start_command_args(vm_entry, vnc_sock_filename: str, migration=False, migration_port=None):
|
||||
threads_per_core = 1
|
||||
|
|
Loading…
Reference in a new issue