Merge "Don't refresh trove code in guestagent once installed"
This commit is contained in:
commit
05f5554c9a
@ -12,7 +12,7 @@ ExecStartPre=/bin/bash -c "sudo mkdir -p GUEST_LOGDIR ; sudo chown GUEST_USERNAM
|
|||||||
|
|
||||||
# If ~/trove-installed does not exist, copy the trove source from
|
# If ~/trove-installed does not exist, copy the trove source from
|
||||||
# the user's development environment, then touch the sentinel file
|
# the user's development environment, then touch the sentinel file
|
||||||
ExecStartPre=/bin/bash -c "test -d /home/GUEST_USERNAME/trove-installed || sudo -u GUEST_USERNAME rsync -e 'ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' -avz --exclude='.*' HOST_SCP_USERNAME@CONTROLLER_IP:PATH_TROVE/ /home/GUEST_USERNAME/trove && touch /home/GUEST_USERNAME/trove-installed"
|
ExecStartPre=/bin/bash -c "test -e /home/GUEST_USERNAME/trove-installed || sudo -u GUEST_USERNAME rsync -e 'ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' -avz --exclude='.*' HOST_SCP_USERNAME@CONTROLLER_IP:PATH_TROVE/ /home/GUEST_USERNAME/trove && touch /home/GUEST_USERNAME/trove-installed"
|
||||||
|
|
||||||
# If /etc/trove does not exist, create it and then copy the trove-guestagent.conf
|
# If /etc/trove does not exist, create it and then copy the trove-guestagent.conf
|
||||||
# from /etc/trove on the user's development environment,
|
# from /etc/trove on the user's development environment,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user