From b2e8f56d647c3fcb765de9bdc35839875611b2bc Mon Sep 17 00:00:00 2001 From: palsus Date: Tue, 9 Mar 2021 13:40:33 +0100 Subject: [PATCH] Added 'runcmd' in cloud_init_haproxy to restart haproxy service after sleeping for 60 seconds. --- wiki_webserver_autoscale_vnfd/cloud_init/cloud_init_haproxy | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wiki_webserver_autoscale_vnfd/cloud_init/cloud_init_haproxy b/wiki_webserver_autoscale_vnfd/cloud_init/cloud_init_haproxy index 8995804f..3251d9b8 100644 --- a/wiki_webserver_autoscale_vnfd/cloud_init/cloud_init_haproxy +++ b/wiki_webserver_autoscale_vnfd/cloud_init/cloud_init_haproxy @@ -3,3 +3,7 @@ hostname: haproxyvdu password: osm2021 chpasswd: { expire: False } ssh_pwauth: True +runcmd: + - sleep 60 + - echo "osm2021" | sudo service haproxy restart + -- GitLab