diff options
author | Leif Johansson <leifj@sunet.se> | 2015-05-09 16:16:31 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2015-05-09 16:16:31 +0200 |
commit | 8098a9e3bbc4d3ae92880243a9b7fb554750afba (patch) | |
tree | 0f550e26ccfb454780d4482fa4a843b9b76480e9 | |
parent | 40ccee5720cd366465517ed9f4d0ad7c4027d7f8 (diff) |
-rw-r--r-- | global/overlay/etc/puppet/modules/sunet/manifests/cloudimage.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/global/overlay/etc/puppet/modules/sunet/manifests/cloudimage.pp b/global/overlay/etc/puppet/modules/sunet/manifests/cloudimage.pp index d6400d7..fa4caf9 100644 --- a/global/overlay/etc/puppet/modules/sunet/manifests/cloudimage.pp +++ b/global/overlay/etc/puppet/modules/sunet/manifests/cloudimage.pp @@ -32,7 +32,7 @@ define sunet::cloudimage ( content => template("sunet/cloudimage/mk_cloud_image.erb"), mode => "0755" } -> - exec { "/var/lib/libvirt/images/${name}/${name}-init.sh": + exec { "/var/lib/libvirt/images/${name}/${name}-init.sh >/var/log/${hostname}-init.log 2>&1": onlyif => "test ! -f /var/lib/libvirt/images/${name}/${name}.img" } } |