-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Firstly, thanks for an awesome tool. I've started to create my own image builds and set of ansible scripts to manage my own servers using this. There's a couple items I feel could be addresses, or maybe documented?
Firstly, the machine-id /etc/machine-id should probably be removed from the image builds. I currently have a post_install extension that removes this from built images. rm -f "${workdir}/etc/machine-id"
/etc/machine-id should also be added to the default migrate files list so it persists across deployments.
After that, it's very easy to have a mount arkdep/shared/log, that is mounted via fstab onto /var/log so that the logs are persistent across deployments.
I currently have an extension on the target host that does this.
# Copy /var/log.
cp -a "$arkdep_dir/deployments/${data[0]}/rootfs/var/log"/* "$arkdep_dir/shared/log"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels