diff --git a/examples/cadvisor.yml b/examples/cadvisor.yml index 238c126ee..912fdbef6 100644 --- a/examples/cadvisor.yml +++ b/examples/cadvisor.yml @@ -17,7 +17,7 @@ onboot: - name: format image: linuxkit/format:0b75e494eea0312f3015e6c6f7c5927620d56c96 - name: mount - image: linuxkit/mount:8363f4f1744e1df2557ec260a4cc94227178fd69 + image: linuxkit/mount:19fa297189166206ac97261679c3e31fb140d48f command: ["/usr/bin/mountie", "/var/lib/docker"] services: diff --git a/examples/dm-crypt-loop.yml b/examples/dm-crypt-loop.yml index c449b80a5..fd923c1b8 100644 --- a/examples/dm-crypt-loop.yml +++ b/examples/dm-crypt-loop.yml @@ -16,7 +16,7 @@ onboot: image: linuxkit/format:0b75e494eea0312f3015e6c6f7c5927620d56c96 command: ["/usr/bin/format", "/dev/sda"] - name: mount - image: linuxkit/mount:8363f4f1744e1df2557ec260a4cc94227178fd69 + image: linuxkit/mount:19fa297189166206ac97261679c3e31fb140d48f command: ["/usr/bin/mountie", "/dev/sda1", "/var/external"] - name: loop image: linuxkit/losetup:0730b61ac5c8803ba73318c2dd5121dc15cfbf34 @@ -25,7 +25,7 @@ onboot: image: linuxkit/dm-crypt:0ea63bfd97b719d185b69994b4856d97fbc8a2dd command: ["/usr/bin/crypto", "crypt_loop_dev", "/dev/loop0"] - name: mount - image: linuxkit/mount:8363f4f1744e1df2557ec260a4cc94227178fd69 + image: linuxkit/mount:19fa297189166206ac97261679c3e31fb140d48f command: ["/usr/bin/mountie", "/dev/mapper/crypt_loop_dev", "/var/secure_storage"] - name: bbox image: busybox diff --git a/examples/dm-crypt.yml b/examples/dm-crypt.yml index b33de728c..4f2697376 100644 --- a/examples/dm-crypt.yml +++ b/examples/dm-crypt.yml @@ -19,7 +19,7 @@ onboot: image: linuxkit/dm-crypt:0ea63bfd97b719d185b69994b4856d97fbc8a2dd command: ["/usr/bin/crypto", "crypt_dev", "/dev/sda1"] - name: mount - image: linuxkit/mount:8363f4f1744e1df2557ec260a4cc94227178fd69 + image: linuxkit/mount:19fa297189166206ac97261679c3e31fb140d48f command: ["/usr/bin/mountie", "/dev/mapper/crypt_dev", "/var/secure_storage"] - name: bbox image: busybox diff --git a/examples/docker-for-mac.yml b/examples/docker-for-mac.yml index 1f097f6db..471091c63 100644 --- a/examples/docker-for-mac.yml +++ b/examples/docker-for-mac.yml @@ -22,7 +22,7 @@ onboot: - name: format image: linuxkit/format:0b75e494eea0312f3015e6c6f7c5927620d56c96 - name: mount - image: linuxkit/mount:8363f4f1744e1df2557ec260a4cc94227178fd69 + image: linuxkit/mount:19fa297189166206ac97261679c3e31fb140d48f command: ["/usr/bin/mountie", "/var/lib"] # make a swap file on the mounted disk - name: swap diff --git a/examples/docker.yml b/examples/docker.yml index 821a82fe9..9701e884a 100644 --- a/examples/docker.yml +++ b/examples/docker.yml @@ -14,7 +14,7 @@ onboot: - name: format image: linuxkit/format:0b75e494eea0312f3015e6c6f7c5927620d56c96 - name: mount - image: linuxkit/mount:8363f4f1744e1df2557ec260a4cc94227178fd69 + image: linuxkit/mount:19fa297189166206ac97261679c3e31fb140d48f command: ["/usr/bin/mountie", "/var/lib/docker"] services: - name: getty diff --git a/examples/swap.yml b/examples/swap.yml index 18604bc16..48a4100c3 100644 --- a/examples/swap.yml +++ b/examples/swap.yml @@ -15,7 +15,7 @@ onboot: - name: format image: linuxkit/format:0b75e494eea0312f3015e6c6f7c5927620d56c96 - name: mount - image: linuxkit/mount:8363f4f1744e1df2557ec260a4cc94227178fd69 + image: linuxkit/mount:19fa297189166206ac97261679c3e31fb140d48f command: ["/usr/bin/mountie", "/var/external"] - name: swap image: linuxkit/swap:2cf5c3f08c4b238bb5fe231fd59ce19faee0fbc6 diff --git a/pkg/extend/extend.go b/pkg/extend/extend.go index f95e632a9..aa518a2f3 100644 --- a/pkg/extend/extend.go +++ b/pkg/extend/extend.go @@ -82,7 +82,10 @@ func extend(d, fsType string) error { } partition := f.PartitionTable.Partitions[0] - if partition.Type != "83" { + // fail on anything that isn't a Linux partition + // 83 -> MBR/DOS Linux Partition ID + // 0FC63DAF-8483-4772-8E79-3D69D8477DE4 -> GPT Linux Partition GUID + if partition.Type != "83" && partition.Type != "0FC63DAF-8483-4772-8E79-3D69D8477DE4" { return fmt.Errorf("Partition 1 on disk %s is not a Linux Partition", d) } @@ -176,7 +179,7 @@ func createPartition(d string, partition Partition) error { } createCmd := exec.Command("sfdisk", "-q", d) - createCmd.Stdin = strings.NewReader(fmt.Sprintf("%d,,83;", partition.Start)) + createCmd.Stdin = strings.NewReader(fmt.Sprintf("%d,,%s;", partition.Start, partition.Type)) if err := createCmd.Run(); err != nil { return fmt.Errorf("Error creating partition table: %v", err) } diff --git a/pkg/mount/mountie.go b/pkg/mount/mountie.go index 5d50cd2c1..b6565ac2a 100644 --- a/pkg/mount/mountie.go +++ b/pkg/mount/mountie.go @@ -98,7 +98,9 @@ func findFirst(drives []string) (string, error) { for _, partition := range f.PartitionTable.Partitions { // ignore anything that isn't a Linux partition - if partition.Type != "83" { + // 83 -> MBR/DOS Linux Partition ID + // 0FC63DAF-8483-4772-8E79-3D69D8477DE4 -> GPT Linux Partition GUID + if partition.Type != "83" && partition.Type != "0FC63DAF-8483-4772-8E79-3D69D8477DE4" { continue } if _, ok := mounted[partition.Node]; ok { diff --git a/projects/compose/compose-dynamic.yml b/projects/compose/compose-dynamic.yml index 7053fb463..e6d63afbd 100644 --- a/projects/compose/compose-dynamic.yml +++ b/projects/compose/compose-dynamic.yml @@ -17,7 +17,7 @@ onboot: - name: format image: linuxkit/format:0b75e494eea0312f3015e6c6f7c5927620d56c96 - name: mount - image: linuxkit/mount:8363f4f1744e1df2557ec260a4cc94227178fd69 + image: linuxkit/mount:19fa297189166206ac97261679c3e31fb140d48f command: ["/usr/bin/mountie", "/var/lib/docker"] services: - name: getty diff --git a/projects/compose/compose-static.yml b/projects/compose/compose-static.yml index d47c3343b..b3beca762 100644 --- a/projects/compose/compose-static.yml +++ b/projects/compose/compose-static.yml @@ -17,7 +17,7 @@ onboot: - name: format image: linuxkit/format:0b75e494eea0312f3015e6c6f7c5927620d56c96 - name: mount - image: linuxkit/mount:8363f4f1744e1df2557ec260a4cc94227178fd69 + image: linuxkit/mount:19fa297189166206ac97261679c3e31fb140d48f command: ["/usr/bin/mountie", "/var/lib/docker"] services: - name: getty diff --git a/test/cases/030_security/000_docker-bench/test.yml b/test/cases/030_security/000_docker-bench/test.yml index 632d1e4ec..c2f1281e7 100644 --- a/test/cases/030_security/000_docker-bench/test.yml +++ b/test/cases/030_security/000_docker-bench/test.yml @@ -14,7 +14,7 @@ onboot: - name: format image: linuxkit/format:0b75e494eea0312f3015e6c6f7c5927620d56c96 - name: mount - image: linuxkit/mount:8363f4f1744e1df2557ec260a4cc94227178fd69 + image: linuxkit/mount:19fa297189166206ac97261679c3e31fb140d48f command: ["/usr/bin/mountie", "/var/lib/docker"] services: - name: rngd diff --git a/test/cases/040_packages/003_containerd/test.yml b/test/cases/040_packages/003_containerd/test.yml index 7ddcdda26..abcd3bf81 100644 --- a/test/cases/040_packages/003_containerd/test.yml +++ b/test/cases/040_packages/003_containerd/test.yml @@ -15,7 +15,7 @@ onboot: - name: format image: linuxkit/format:0b75e494eea0312f3015e6c6f7c5927620d56c96 - name: mount - image: linuxkit/mount:8363f4f1744e1df2557ec260a4cc94227178fd69 + image: linuxkit/mount:19fa297189166206ac97261679c3e31fb140d48f command: ["/usr/bin/mountie", "/var/lib"] - name: test image: linuxkit/test-containerd:fa781a2ec490a63140a2e90f9c8d13c735dd4c5f diff --git a/test/cases/040_packages/005_extend/000_ext4/check.sh b/test/cases/040_packages/005_extend/000_ext4/check.sh index 04b9466da..46ebe33a0 100755 --- a/test/cases/040_packages/005_extend/000_ext4/check.sh +++ b/test/cases/040_packages/005_extend/000_ext4/check.sh @@ -9,5 +9,5 @@ function failed { [ -f /var/lib/docker/bar ] || failed touch /var/lib/docker/foo || failed -df -h | grep -qE "[4-5][0-9]{2}\.[0-9]{1,}M" || failed +df -h | grep /var/lib/docker | grep -qE "[4-5][0-9]{2}\.[0-9]{1,}M" || failed printf "extend test suite PASSED\n" >&1 diff --git a/test/cases/040_packages/005_extend/000_ext4/test-create.yml b/test/cases/040_packages/005_extend/000_ext4/test-create.yml index 517c44ba7..88203355a 100644 --- a/test/cases/040_packages/005_extend/000_ext4/test-create.yml +++ b/test/cases/040_packages/005_extend/000_ext4/test-create.yml @@ -8,7 +8,7 @@ onboot: - name: format image: linuxkit/format:0b75e494eea0312f3015e6c6f7c5927620d56c96 - name: mount - image: linuxkit/mount:8363f4f1744e1df2557ec260a4cc94227178fd69 + image: linuxkit/mount:19fa297189166206ac97261679c3e31fb140d48f command: ["/usr/bin/mountie", "/var/lib/docker"] - name: test image: alpine:3.11 diff --git a/test/cases/040_packages/005_extend/000_ext4/test.yml b/test/cases/040_packages/005_extend/000_ext4/test.yml index f99645c8a..8c60e0fbf 100644 --- a/test/cases/040_packages/005_extend/000_ext4/test.yml +++ b/test/cases/040_packages/005_extend/000_ext4/test.yml @@ -6,9 +6,9 @@ init: - linuxkit/runc:1eef77f5963e44e491abfe392206769037d47ae2 onboot: - name: extend - image: linuxkit/extend:1ea3b8f198bf564e8ae6c71481715aadadd4e242 + image: linuxkit/extend:10bc501a6890be931c6f6602c8caca31337eafeb - name: mount - image: linuxkit/mount:8363f4f1744e1df2557ec260a4cc94227178fd69 + image: linuxkit/mount:19fa297189166206ac97261679c3e31fb140d48f command: ["/usr/bin/mountie", "/var/lib/docker"] - name: test image: alpine:3.11 diff --git a/test/cases/040_packages/005_extend/001_btrfs/check.sh b/test/cases/040_packages/005_extend/001_btrfs/check.sh index 04b9466da..46ebe33a0 100755 --- a/test/cases/040_packages/005_extend/001_btrfs/check.sh +++ b/test/cases/040_packages/005_extend/001_btrfs/check.sh @@ -9,5 +9,5 @@ function failed { [ -f /var/lib/docker/bar ] || failed touch /var/lib/docker/foo || failed -df -h | grep -qE "[4-5][0-9]{2}\.[0-9]{1,}M" || failed +df -h | grep /var/lib/docker | grep -qE "[4-5][0-9]{2}\.[0-9]{1,}M" || failed printf "extend test suite PASSED\n" >&1 diff --git a/test/cases/040_packages/005_extend/001_btrfs/test-create.yml b/test/cases/040_packages/005_extend/001_btrfs/test-create.yml index 015978327..d6cb6e9bb 100644 --- a/test/cases/040_packages/005_extend/001_btrfs/test-create.yml +++ b/test/cases/040_packages/005_extend/001_btrfs/test-create.yml @@ -12,7 +12,7 @@ onboot: image: linuxkit/format:0b75e494eea0312f3015e6c6f7c5927620d56c96 command: ["/usr/bin/format", "-type", "btrfs" ] - name: mount - image: linuxkit/mount:8363f4f1744e1df2557ec260a4cc94227178fd69 + image: linuxkit/mount:19fa297189166206ac97261679c3e31fb140d48f command: ["/usr/bin/mountie", "/var/lib/docker"] - name: test image: alpine:3.11 diff --git a/test/cases/040_packages/005_extend/001_btrfs/test.yml b/test/cases/040_packages/005_extend/001_btrfs/test.yml index aefc34dc9..2d1e80588 100644 --- a/test/cases/040_packages/005_extend/001_btrfs/test.yml +++ b/test/cases/040_packages/005_extend/001_btrfs/test.yml @@ -9,10 +9,10 @@ onboot: image: linuxkit/modprobe:944769462b9d10b1b1506498d3eb03dcc5416f7f command: ["modprobe", "btrfs"] - name: extend - image: linuxkit/extend:1ea3b8f198bf564e8ae6c71481715aadadd4e242 + image: linuxkit/extend:10bc501a6890be931c6f6602c8caca31337eafeb command: ["/usr/bin/extend", "-type", "btrfs"] - name: mount - image: linuxkit/mount:8363f4f1744e1df2557ec260a4cc94227178fd69 + image: linuxkit/mount:19fa297189166206ac97261679c3e31fb140d48f command: ["/usr/bin/mountie", "/var/lib/docker"] - name: test image: alpine:3.11 diff --git a/test/cases/040_packages/005_extend/002_xfs/check.sh b/test/cases/040_packages/005_extend/002_xfs/check.sh index 04b9466da..46ebe33a0 100755 --- a/test/cases/040_packages/005_extend/002_xfs/check.sh +++ b/test/cases/040_packages/005_extend/002_xfs/check.sh @@ -9,5 +9,5 @@ function failed { [ -f /var/lib/docker/bar ] || failed touch /var/lib/docker/foo || failed -df -h | grep -qE "[4-5][0-9]{2}\.[0-9]{1,}M" || failed +df -h | grep /var/lib/docker | grep -qE "[4-5][0-9]{2}\.[0-9]{1,}M" || failed printf "extend test suite PASSED\n" >&1 diff --git a/test/cases/040_packages/005_extend/002_xfs/test-create.yml b/test/cases/040_packages/005_extend/002_xfs/test-create.yml index 0c552a9d1..4773481ff 100644 --- a/test/cases/040_packages/005_extend/002_xfs/test-create.yml +++ b/test/cases/040_packages/005_extend/002_xfs/test-create.yml @@ -9,7 +9,7 @@ onboot: image: linuxkit/format:0b75e494eea0312f3015e6c6f7c5927620d56c96 command: ["/usr/bin/format", "-type", "xfs"] - name: mount - image: linuxkit/mount:8363f4f1744e1df2557ec260a4cc94227178fd69 + image: linuxkit/mount:19fa297189166206ac97261679c3e31fb140d48f command: ["/usr/bin/mountie", "/var/lib/docker"] - name: test image: alpine:3.11 diff --git a/test/cases/040_packages/005_extend/002_xfs/test.yml b/test/cases/040_packages/005_extend/002_xfs/test.yml index 4a6b274ed..4057eff25 100644 --- a/test/cases/040_packages/005_extend/002_xfs/test.yml +++ b/test/cases/040_packages/005_extend/002_xfs/test.yml @@ -6,10 +6,10 @@ init: - linuxkit/runc:1eef77f5963e44e491abfe392206769037d47ae2 onboot: - name: extend - image: linuxkit/extend:1ea3b8f198bf564e8ae6c71481715aadadd4e242 + image: linuxkit/extend:10bc501a6890be931c6f6602c8caca31337eafeb command: ["/usr/bin/extend", "-type", "xfs"] - name: mount - image: linuxkit/mount:8363f4f1744e1df2557ec260a4cc94227178fd69 + image: linuxkit/mount:19fa297189166206ac97261679c3e31fb140d48f command: ["/usr/bin/mountie", "/var/lib/docker"] - name: test image: alpine:3.11 diff --git a/test/cases/040_packages/005_extend/003_gpt/check.sh b/test/cases/040_packages/005_extend/003_gpt/check.sh new file mode 100755 index 000000000..46ebe33a0 --- /dev/null +++ b/test/cases/040_packages/005_extend/003_gpt/check.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +set -x + +function failed { + printf "extend test suite FAILED\n" >&1 + exit 1 +} + +[ -f /var/lib/docker/bar ] || failed +touch /var/lib/docker/foo || failed +df -h | grep /var/lib/docker | grep -qE "[4-5][0-9]{2}\.[0-9]{1,}M" || failed +printf "extend test suite PASSED\n" >&1 diff --git a/test/cases/040_packages/005_extend/003_gpt/test-create.yml b/test/cases/040_packages/005_extend/003_gpt/test-create.yml new file mode 100644 index 000000000..6c0ebeb0f --- /dev/null +++ b/test/cases/040_packages/005_extend/003_gpt/test-create.yml @@ -0,0 +1,25 @@ +kernel: + image: linuxkit/kernel:5.4.30 + cmdline: "console=ttyS0 console=ttyAMA0" +init: + - linuxkit/init:f670045ecb6ec31ea37dd10114366e9a1e915013 + - linuxkit/runc:1eef77f5963e44e491abfe392206769037d47ae2 +onboot: + - name: format + image: linuxkit/format:0b75e494eea0312f3015e6c6f7c5927620d56c96 + command: ["/usr/bin/format", "-partition", "gpt"] + - name: mount + image: linuxkit/mount:19fa297189166206ac97261679c3e31fb140d48f + command: ["/usr/bin/mountie", "/var/lib/docker"] + - name: test + image: alpine:3.11 + binds: + - /var/lib/docker:/var/lib/docker + command: ["touch", "/var/lib/docker/bar"] + - name: poweroff + image: linuxkit/poweroff:06dd4e46c62fbe79123a028835c921f80e4855d3 + command: ["/bin/sh", "/poweroff.sh", "10"] +trust: + org: + - linuxkit + - library diff --git a/test/cases/040_packages/005_extend/003_gpt/test.sh b/test/cases/040_packages/005_extend/003_gpt/test.sh new file mode 100644 index 000000000..e8e5b2b3a --- /dev/null +++ b/test/cases/040_packages/005_extend/003_gpt/test.sh @@ -0,0 +1,32 @@ +#!/bin/sh +# SUMMARY: Check that a partition on a GPT partitioned disk can be extended +# LABELS: +# REPEAT: + +set -ex + +# Source libraries. Uncomment if needed/defined +#. "${RT_LIB}" +. "${RT_PROJECT_ROOT}/_lib/lib.sh" + +NAME_CREATE=create-gpt +NAME_EXTEND=extend-gpt +DISK=disk.img + +clean_up() { + rm -rf ${NAME_CREATE}-* ${NAME_EXTEND}-* ${DISK} +} +trap clean_up EXIT + +# Test code goes here +linuxkit build -name "${NAME_CREATE}" -format kernel+initrd test-create.yml +linuxkit run -disk file="${DISK}",format=raw,size=256M "${NAME_CREATE}" +[ -f "${DISK}" ] || exit 1 +# osx takes issue with bs=1M +dd if=/dev/zero bs=1048576 count=256 >> "${DISK}" +linuxkit build -format kernel+initrd -name ${NAME_EXTEND} test.yml +RESULT="$(linuxkit run -disk file=${DISK} ${NAME_EXTEND})" +echo "${RESULT}" +echo "${RESULT}" | grep -q "suite PASSED" + +exit 0 diff --git a/test/cases/040_packages/005_extend/003_gpt/test.yml b/test/cases/040_packages/005_extend/003_gpt/test.yml new file mode 100644 index 000000000..8c60e0fbf --- /dev/null +++ b/test/cases/040_packages/005_extend/003_gpt/test.yml @@ -0,0 +1,28 @@ +kernel: + image: linuxkit/kernel:5.4.30 + cmdline: "console=ttyS0 console=ttyAMA0" +init: + - linuxkit/init:f670045ecb6ec31ea37dd10114366e9a1e915013 + - linuxkit/runc:1eef77f5963e44e491abfe392206769037d47ae2 +onboot: + - name: extend + image: linuxkit/extend:10bc501a6890be931c6f6602c8caca31337eafeb + - name: mount + image: linuxkit/mount:19fa297189166206ac97261679c3e31fb140d48f + command: ["/usr/bin/mountie", "/var/lib/docker"] + - name: test + image: alpine:3.11 + binds: + - /var/lib/docker:/var/lib/docker + - /check.sh:/check.sh + command: ["sh", "./check.sh"] + - name: poweroff + image: linuxkit/poweroff:06dd4e46c62fbe79123a028835c921f80e4855d3 + command: ["/bin/sh", "/poweroff.sh", "10"] +files: + - path: check.sh + source: ./check.sh +trust: + org: + - linuxkit + - library diff --git a/test/cases/040_packages/006_format_mount/000_auto/test.yml b/test/cases/040_packages/006_format_mount/000_auto/test.yml index 7aeb9f524..bb92592b9 100644 --- a/test/cases/040_packages/006_format_mount/000_auto/test.yml +++ b/test/cases/040_packages/006_format_mount/000_auto/test.yml @@ -9,7 +9,7 @@ onboot: image: linuxkit/format:0b75e494eea0312f3015e6c6f7c5927620d56c96 command: ["/usr/bin/format"] - name: mount - image: linuxkit/mount:8363f4f1744e1df2557ec260a4cc94227178fd69 + image: linuxkit/mount:19fa297189166206ac97261679c3e31fb140d48f command: ["/usr/bin/mountie", "/var/lib/docker"] - name: test image: alpine:3.11 diff --git a/test/cases/040_packages/006_format_mount/001_by_label/test.yml b/test/cases/040_packages/006_format_mount/001_by_label/test.yml index 24837dec4..c36190fb1 100644 --- a/test/cases/040_packages/006_format_mount/001_by_label/test.yml +++ b/test/cases/040_packages/006_format_mount/001_by_label/test.yml @@ -9,7 +9,7 @@ onboot: image: linuxkit/format:0b75e494eea0312f3015e6c6f7c5927620d56c96 command: ["/usr/bin/format", "-label", "docker"] - name: mount - image: linuxkit/mount:8363f4f1744e1df2557ec260a4cc94227178fd69 + image: linuxkit/mount:19fa297189166206ac97261679c3e31fb140d48f command: ["/usr/bin/mountie", "-label", "docker", "/var/lib/docker"] - name: test image: alpine:3.11 diff --git a/test/cases/040_packages/006_format_mount/002_by_name/test.yml.in b/test/cases/040_packages/006_format_mount/002_by_name/test.yml.in index 02adf57e0..d0c851098 100644 --- a/test/cases/040_packages/006_format_mount/002_by_name/test.yml.in +++ b/test/cases/040_packages/006_format_mount/002_by_name/test.yml.in @@ -9,7 +9,7 @@ onboot: image: linuxkit/format:0b75e494eea0312f3015e6c6f7c5927620d56c96 command: ["/usr/bin/format", "@DEVICE@"] - name: mount - image: linuxkit/mount:8363f4f1744e1df2557ec260a4cc94227178fd69 + image: linuxkit/mount:19fa297189166206ac97261679c3e31fb140d48f command: ["/usr/bin/mountie", "-device", "@DEVICE@1", "/var/lib/docker"] - name: test image: alpine:3.11 diff --git a/test/cases/040_packages/006_format_mount/003_btrfs/test.yml b/test/cases/040_packages/006_format_mount/003_btrfs/test.yml index 730097fdd..f9cb34a2b 100644 --- a/test/cases/040_packages/006_format_mount/003_btrfs/test.yml +++ b/test/cases/040_packages/006_format_mount/003_btrfs/test.yml @@ -12,7 +12,7 @@ onboot: image: linuxkit/format:0b75e494eea0312f3015e6c6f7c5927620d56c96 command: ["/usr/bin/format", "-type", "btrfs" ] - name: mount - image: linuxkit/mount:8363f4f1744e1df2557ec260a4cc94227178fd69 + image: linuxkit/mount:19fa297189166206ac97261679c3e31fb140d48f command: ["/usr/bin/mountie", "/var/lib/docker"] - name: test image: alpine:3.11 diff --git a/test/cases/040_packages/006_format_mount/004_xfs/test.yml b/test/cases/040_packages/006_format_mount/004_xfs/test.yml index bbf2a05e9..b4aef375c 100644 --- a/test/cases/040_packages/006_format_mount/004_xfs/test.yml +++ b/test/cases/040_packages/006_format_mount/004_xfs/test.yml @@ -9,7 +9,7 @@ onboot: image: linuxkit/format:0b75e494eea0312f3015e6c6f7c5927620d56c96 command: ["/usr/bin/format", "-type", "xfs" ] - name: mount - image: linuxkit/mount:8363f4f1744e1df2557ec260a4cc94227178fd69 + image: linuxkit/mount:19fa297189166206ac97261679c3e31fb140d48f command: ["/usr/bin/mountie", "/var/lib/docker"] - name: test image: alpine:3.11 diff --git a/test/cases/040_packages/006_format_mount/006_gpt/test.yml b/test/cases/040_packages/006_format_mount/006_gpt/test.yml index 44bd39628..9c35aa36e 100644 --- a/test/cases/040_packages/006_format_mount/006_gpt/test.yml +++ b/test/cases/040_packages/006_format_mount/006_gpt/test.yml @@ -9,7 +9,7 @@ onboot: image: linuxkit/format:0b75e494eea0312f3015e6c6f7c5927620d56c96 command: ["/usr/bin/format", "-partition", "gpt"] - name: mount - image: linuxkit/mount:8363f4f1744e1df2557ec260a4cc94227178fd69 + image: linuxkit/mount:19fa297189166206ac97261679c3e31fb140d48f command: ["/usr/bin/mountie", "/var/lib/docker"] - name: test image: alpine:3.11 diff --git a/test/cases/040_packages/006_format_mount/010_multiple/test.yml b/test/cases/040_packages/006_format_mount/010_multiple/test.yml index bf6445b32..eeb270965 100644 --- a/test/cases/040_packages/006_format_mount/010_multiple/test.yml +++ b/test/cases/040_packages/006_format_mount/010_multiple/test.yml @@ -12,10 +12,10 @@ onboot: image: linuxkit/format:0b75e494eea0312f3015e6c6f7c5927620d56c96 command: ["/usr/bin/format", "-label", "foo"] - name: mount - image: linuxkit/mount:8363f4f1744e1df2557ec260a4cc94227178fd69 + image: linuxkit/mount:19fa297189166206ac97261679c3e31fb140d48f command: ["/usr/bin/mountie", "-label", "docker", "/var/lib/docker"] - name: mount - image: linuxkit/mount:8363f4f1744e1df2557ec260a4cc94227178fd69 + image: linuxkit/mount:19fa297189166206ac97261679c3e31fb140d48f command: ["/usr/bin/mountie", "-label", "foo", "/var/foo"] - name: test image: alpine:3.11