X-Git-Url: http://git.onelab.eu/?p=nodemanager.git;a=blobdiff_plain;f=sliver_lxc.py;fp=sliver_lxc.py;h=19216d75f7e13a4faeee6e65366d7ccd114a8329;hp=a9988fecf62a2720be16f2e47188d93ebc94469e;hb=6f1c653e7f3712cd67d5db796eeae5c35fdddf5f;hpb=c79ee8b9c646c2f4dbe5496c61af382897a5fc26 diff --git a/sliver_lxc.py b/sliver_lxc.py index a9988fe..19216d7 100644 --- a/sliver_lxc.py +++ b/sliver_lxc.py @@ -151,7 +151,8 @@ class Sliver_LXC(Sliver_Libvirt, Initscript): # this assumes the reference image is in its own subvolume command = ['btrfs', 'subvolume', 'snapshot', refImgDir, containerDir] if not logger.log_call(command, timeout=BTRFS_TIMEOUT): - logger.log('sliver_lxc: ERROR Could not create BTRFS snapshot at', containerDir) + logger.log('sliver_lxc: ERROR Could not create BTRFS snapshot at {}' + .format(containerDir)) return command = ['chmod', '755', containerDir] logger.log_call(command)