1
0
mirror of https://github.com/laurivosandi/certidude synced 2024-11-04 20:38:12 +00:00

travis: Make sure /etc/hosts gets reset

This commit is contained in:
Lauri Võsandi 2017-12-30 20:38:35 +02:00
parent d236af6b01
commit 150e3234b9

View File

@ -13,6 +13,7 @@ script:
- sudo pip3 install codecov pytest-cov requests-kerberos - sudo pip3 install codecov pytest-cov requests-kerberos
- sudo pip3 install -e . - sudo pip3 install -e .
- echo ca | sudo tee /etc/hostname - echo ca | sudo tee /etc/hostname
- echo 127.0.0.1 localhost | sudo tee /etc/hosts
- echo 127.0.1.1 ca.example.lan ca | sudo tee -a /etc/hosts - echo 127.0.1.1 ca.example.lan ca | sudo tee -a /etc/hosts
- sudo hostname -F /etc/hostname - sudo hostname -F /etc/hostname
- sudo find /home/ -type d -exec chmod 755 {} \; # Allow certidude serve to read templates - sudo find /home/ -type d -exec chmod 755 {} \; # Allow certidude serve to read templates