Change-Id: Ia462b379fec05c1c9f8c04eaff7d36da1b9f1e18
Reviewed-on: http://photon-jenkins.eng.vmware.com/1173
Reviewed-by: Alexey Makhalov <amakhalov@vmware.com>
Tested-by: gerrit-photon <photon-checkins@vmware.com>
| ... | ... |
@@ -48,5 +48,6 @@ class OstreeServerInstaller(Installer): |
| 48 | 48 |
self.run("tar -xf /mnt/cdrom/ostree-repo.tar.gz -C {}/srv/rpm-ostree/repo".format(self.photon_root))
|
| 49 | 49 |
self.run("sed -i \"\\$i iptables -A INPUT -m state --state NEW,ESTABLISHED -p tcp --dport 80 -j ACCEPT\" {}/etc/systemd/scripts/iptables".format(self.photon_root))
|
| 50 | 50 |
self.run("sed -i \"\\$i iptables -A INPUT -m state --state NEW,ESTABLISHED -p tcp --dport 443 -j ACCEPT\" {}/etc/systemd/scripts/iptables".format(self.photon_root))
|
| 51 |
+ self.run("sed -i \"s/umask[ \t]\+[0-9]\+/umask 022/g\" {}/etc/profile".format(self.photon_root))
|
|
| 51 | 52 |
|
| 52 | 53 |
|