Commit 92d4082a authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

packer: use pip instead of easy_install

parent a7f593fd
...@@ -10,8 +10,10 @@ ...@@ -10,8 +10,10 @@
### Build instances ### Build instances
- shell: mkdir -p log/ - shell: mkdir -p log/
- easy_install: - name: Install latest version of slapos.libnetworkcache
pip:
name: slapos.libnetworkcache name: slapos.libnetworkcache
state: latest
- shell: PATH=$PATH:/opt/packer/ packer build -var 'disk_size={{ item.size }}' -var 'name={{ item.name }}' -var 'custom_script={{ item.script }}' debian9.json >> log/debian9-{{ item.name }}.log - shell: PATH=$PATH:/opt/packer/ packer build -var 'disk_size={{ item.size }}' -var 'name={{ item.name }}' -var 'custom_script={{ item.script }}' debian9.json >> log/debian9-{{ item.name }}.log
args: args:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment