Skip to content
Snippets Groups Projects
Verified Commit f151b734 authored by Kristian Klausen's avatar Kristian Klausen :tada:
Browse files

Merge branch 'versionless-bootstrap' into 'master'

install_arch: use versionless bootstrap tarball

See merge request !596
parents ed8b4f70 4de01431
No related branches found
No related tags found
1 merge request!596install_arch: use versionless bootstrap tarball
Pipeline #21874 passed
......@@ -40,20 +40,15 @@
- name: touch LOCK file on mountpoint
file: path=/mnt/LOCK state=touch owner=root group=root mode=0644
- name: fetch latest bootstrap version
set_fact:
bootstrap_version: "{{ lookup('url', 'https://geo.mirror.pkgbuild.com/iso/latest/arch/version') }}"
when: bootstrap_version == 'latest'
- name: download bootstrap image
get_url:
url: https://geo.mirror.pkgbuild.com/iso/{{ bootstrap_version }}/archlinux-bootstrap-{{ bootstrap_version }}-x86_64.tar.gz
url: https://geo.mirror.pkgbuild.com/iso/{{ bootstrap_version }}/archlinux-bootstrap-x86_64.tar.gz
dest: /tmp/
mode: 0644
- name: extract boostrap image # noqa 208
unarchive:
src: /tmp/archlinux-bootstrap-{{ bootstrap_version }}-x86_64.tar.gz
src: /tmp/archlinux-bootstrap-x86_64.tar.gz
dest: /tmp
remote_src: true
creates: /tmp/root.x86_64
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment