cloud-init open port
This commit is contained in:
		@@ -121,6 +121,8 @@ write_files:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
runcmd:
 | 
					runcmd:
 | 
				
			||||||
  - update-ca-certificates
 | 
					  - update-ca-certificates
 | 
				
			||||||
 | 
					  - iptables -I INPUT 6 -m state --state NEW -p tcp --dport {PORT:-8000} -j ACCEPT
 | 
				
			||||||
 | 
					  - netfilter-persistent save
 | 
				
			||||||
  - pip install git+https://git.pictuga.com/pictuga/morss.git#egg=morss[full]
 | 
					  - pip install git+https://git.pictuga.com/pictuga/morss.git#egg=morss[full]
 | 
				
			||||||
  - gunicorn --bind 0.0.0.0:${PORT:-8000} ${GUNICORN} --preload --access-logfile - morss
 | 
					  - gunicorn --bind 0.0.0.0:${PORT:-8000} ${GUNICORN} --preload --access-logfile - morss
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user