Release drop for v5 image
Change-Id: Ie942ad92c991159016407589e4c6fabbf060e088
This commit is contained in:
parent
52df31f156
commit
244f525a89
@ -51,7 +51,7 @@ sed -i 's/start-stop-daemon\ --start/ulimit\ \-n\ 102400\n\t\0/g' /etc/init.d/ng
|
||||
# Auto start the KloudBuster Agent, with user-data
|
||||
sed -i "s/^exit\s0/cd \/kb_test\n\0/g" /etc/rc.local
|
||||
sed -i "s/^exit\s0/if wget http\:\/\/169.254.169.254\/latest\/user-data; then \:; fi\n\0/g" /etc/rc.local
|
||||
sed -i "s/^exit\s0/python \/kb_test\/kb_vm_agent.py \&\n\0/g" /etc/rc.local
|
||||
sed -i "s/^exit\s0/python kb_vm_agent.py \&\n\0/g" /etc/rc.local
|
||||
|
||||
|
||||
# ======
|
||||
|
@ -29,7 +29,7 @@ import redis
|
||||
#
|
||||
# This version must be incremented if the interface changes or if new features
|
||||
# are added to the agent VM
|
||||
__version__ = '5d1'
|
||||
__version__ = '5'
|
||||
|
||||
# TODO(Logging on Agent)
|
||||
|
||||
@ -297,7 +297,7 @@ if __name__ == "__main__":
|
||||
cmd = ['python', 'setup.py', 'develop']
|
||||
rc = exec_command(cmd, cwd=cwd)
|
||||
if not rc:
|
||||
cmd = ['pecan', 'serve', 'config.py']
|
||||
cmd = ['/usr/local/bin/pecan', 'serve', 'config.py']
|
||||
sys.exit(exec_command(cmd, cwd=cwd))
|
||||
|
||||
if user_data.get('role') == 'KB-PROXY':
|
||||
|
Loading…
x
Reference in New Issue
Block a user