ami_pre/mounts.sls
author Paul Tonelli <paul.tonelli@logilab.fr>
Tue, 26 Mar 2013 09:29:02 +0100
changeset 100 7a6ea6e5474c
parent 78 f964fb1a386a
child 109 3b7c74c614ca
permissions -rw-r--r--
updated path of image file


mounted_variation:
    mount.mounted:
        - device: /mnt/output/variation.img
        - name: /mnt/variation
        - fstype: ext4
        - mkmnt: False
        - opts:
            - loop
        - require:
            - file.directory: /mnt/variation
            - tmp_state.resized: resize_variation

chroot_proc:
    mount.mounted:
        - device: none
        - name: /mnt/variation/proc
        - fstype: proc
        - mkmnt: false
        - require:
            - mount.mounted: mounted_variation

chroot_devpts:
    mount.mounted:
        - device: none
        - name: /mnt/variation/dev/pts
        - fstype: devpts
        - mkmnt: False
        - require:
            - mount.mounted: mounted_variation