Open laurivosandi opened 9 years ago
Persistent options can be implemented with corresponding partitions. Following partitions with suggested sizes and mount points would be created on provisioned disk: / - 16 GB ; /var/butterknife/persistent - 1 GB(?); /home - remaining free space
Preliminary tarball streaming support added in 943f3ccebd42029b8db1adf09095ba210d84b078, filesystem selection and untar yet to be implemented in provisioning image. Separate partition for persistence sounds like a great idea :)
It would be convenient to deploy Butterknife templates on ext4 filesystem. This could be done by generating tarball on Butterknife server and having it streamed to ext4 filesystem using Butterknife provisioning image. The persistent subvolume would not be available in this case and the post-deploy scripts would need some extra environment variables to determine behaviour.