resize /var, not /...

because cloud-inits growpart can only resize the last partition
This commit is contained in:
phaer 2022-03-02 14:30:19 +01:00
parent 7f1cefe1e6
commit 52adcd3f40

View File

@ -1,4 +1,9 @@
#cloud-config #cloud-config
# Resize /var, not /, as that's the last partition in MicroOS image.
growpart:
devices: ["/var"]
write_files: write_files:
# Configure private network # Configure private network
@ -40,4 +45,3 @@ runcmd:
# Finishing automatic reboot via Kured setup # Finishing automatic reboot via Kured setup
- rebootmgrctl set-strategy off - rebootmgrctl set-strategy off