summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2017-03-17 17:45:55 +0100
committerJonathan Bauer2017-03-17 17:45:55 +0100
commit87291d0f354280178c499b950a94bed5cfaf4be1 (patch)
treede15090b9570ef608fc92bc413abc25c373b10f3
parentfixed typo (diff)
downloadansible-dracut-87291d0f354280178c499b950a94bed5cfaf4be1.tar.gz
ansible-dracut-87291d0f354280178c499b950a94bed5cfaf4be1.tar.xz
ansible-dracut-87291d0f354280178c499b950a94bed5cfaf4be1.zip
til the submodule stuff is done, a few hints how to use it
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 6fe78dc..dbc93cd 100644
--- a/README.md
+++ b/README.md
@@ -25,6 +25,6 @@ for a sample packer template to use an existing qcow2 image and provision them w
The template requires the variable 'image_path' to be set, which needs to be the path of the qcow2 image.
If it was generated by packer and the manifest was created, you can simply extract the image path from that:
- # Be in same directory as where you built the image with packer
+ # Be in same directory as where you built the image with packer with an ansible-roles in that directory, then:
packer build -var-file=base.json -only=qemu -var='image_path='"$(jq -r '.builds[0].files[0].name' < manifest.json)"'' ansible-roles/run-playbook-only.json