Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bootcmd:
- - grep -q foreman.example.com /etc/cloud/templates/hosts.redhat.tmpl || echo 1.2.3.4 foreman.example.com >> /etc/cloud/templates/hosts.redhat.tmpl
- - echo 1.2.3.4 foreman.example.com >> /etc/hosts
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement