Skip to content

Commit 5b59819

Browse files
committed
compose: Add grow-partition to vagrant templates
Not sure why only the EM template got this, the VMs can use it too. Signed-off-by: Manuel Mendez <[email protected]>
1 parent f1f692c commit 5b59819

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

deploy/compose/create-tink-records/manifests/template/ubuntu-libvirt.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,15 @@ tasks:
1616
DEST_DISK: /dev/vda
1717
IMG_URL: "http://192.168.56.4:8080/focal-server-cloudimg-amd64.raw.gz"
1818
COMPRESSED: true
19+
- name: "grow-partition"
20+
image: cexec:v1.0.0
21+
timeout: 90
22+
environment:
23+
BLOCK_DEVICE: /dev/sda1
24+
FS_TYPE: ext4
25+
CHROOT: y
26+
DEFAULT_INTERPRETER: "/bin/sh -c"
27+
CMD_LINE: "growpart /dev/sda 1 && resize2fs /dev/sda1"
1928
- name: "install-openssl"
2029
image: cexec:v1.0.0
2130
timeout: 90

deploy/compose/create-tink-records/manifests/template/ubuntu.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,15 @@ tasks:
1616
DEST_DISK: /dev/sda
1717
IMG_URL: "http://192.168.56.4:8080/focal-server-cloudimg-amd64.raw.gz"
1818
COMPRESSED: true
19+
- name: "grow-partition"
20+
image: cexec:v1.0.0
21+
timeout: 90
22+
environment:
23+
BLOCK_DEVICE: /dev/sda1
24+
FS_TYPE: ext4
25+
CHROOT: y
26+
DEFAULT_INTERPRETER: "/bin/sh -c"
27+
CMD_LINE: "growpart /dev/sda 1 && resize2fs /dev/sda1"
1928
- name: "install-openssl"
2029
image: cexec:v1.0.0
2130
timeout: 90

0 commit comments

Comments
 (0)