blob: 43b7dced771afddd02d6390fe72d31630a7d5c75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
- name: Mount squashfs image from root partition
become: true
mount:
name: "{{ vyos_read_root }}"
src: "{{ vyos_write_root }}/boot/{{ vyos_version }}/{{ vyos_version }}.squashfs"
fstype: squashfs
opts: loop,ro
fstab: /tmp/fstab
state: mounted
- name: Set up union root for post installation tasks
become: true
mount:
name: "{{ vyos_install_root }}"
src: none
fstype: aufs
opts: "noatime,dirs={{ vyos_write_root }}/boot/{{ vyos_version }}/rw=rw:{{ vyos_read_root }}=rr"
fstab: /tmp/fstab
state: mounted
|