Browse Source

Merge "Add apt-get update in application deployment"

tags/0.1.0
Zuul 1 year ago
parent
commit
55717365c7

+ 1
- 0
murano_tempest_tests/extras/io.murano.apps.test.ApacheHttpServerCustom/Classes/ApacheHttpServer.yaml View File

@@ -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…
Cancel
Save