Merge "Add apt-get update in application deployment"
This commit is contained in:
commit
55717365c7
|
@ -58,6 +58,7 @@ Methods:
|
|||
- $resources: new(sys:Resources)
|
||||
- $linux: new(conf:Linux)
|
||||
|
||||
- $linux.runCommand($.instance.agent, 'apt-get update')
|
||||
- $linux.runCommand($.instance.agent, 'apt-get -y install apache2')
|
||||
- $linux.runCommand($.instance.agent, 'iptables -I INPUT 1 -p tcp --dport 443 -j ACCEPT')
|
||||
- $linux.runCommand($.instance.agent, 'iptables -I INPUT 1 -p tcp --dport 80 -j ACCEPT')
|
||||
|
|
Loading…
Reference in New Issue