Skip to content

Instantly share code, notes, and snippets.

@constrict0r
Last active October 25, 2019 17:39
Show Gist options
  • Save constrict0r/c557d7351defc837e041d81de241946f to your computer and use it in GitHub Desktop.
Save constrict0r/c557d7351defc837e041d81de241946f to your computer and use it in GitHub Desktop.
Create an iso using Ansible roles.
ansible localhost -m include_role -a name=constrict0r.iso -K -e \
'username=constrict0r userpass=1234 rootpass=1234 device=sdb preseed=true \
preseed_wireless=true preseed_partitioning=true preseed_last_question=true \
preseed_custom=/home/constrict0r/repos/madvillain/defaults/main.yml networkname="MY NETWORK" \
networkpass="my-network-pass" hostname="latveria" domain="amanita"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment