From: Scott Baker Date: Mon, 7 Apr 2014 21:13:48 +0000 (-0700) Subject: pass args to lxcsu separately when starting network X-Git-Tag: nodemanager-5.2-13~3 X-Git-Url: http://git.onelab.eu/?p=nodemanager.git;a=commitdiff_plain;h=84751d320f03b0baae416a9a05926b3aec799ae7 pass args to lxcsu separately when starting network --- diff --git a/plugins/interfaces.py b/plugins/interfaces.py index fb7c6e3..8179c8d 100644 --- a/plugins/interfaces.py +++ b/plugins/interfaces.py @@ -81,7 +81,7 @@ def GetSlivers(data, config=None, plc=None): logger.log('interfaces (%s): error writing file %s' % (slicename, dest)) continue - result = logger.log_call(['/usr/sbin/lxcsu', slicename, '/sbin/service network restart']) + result = logger.log_call(['/usr/sbin/lxcsu', slicename, '/sbin/service', 'network', 'restart']) if not result: logger.log('interfaces (%s): error restarting network service' % slicename) # try: