linuxmuster / linuxmuster-linbo

Linbo imaging system for linuxmuster.net
23 stars 22 forks source link

logging image status of a client #147

Closed HappyBasher closed 3 years ago

HappyBasher commented 3 years ago

In my daily work with linbo i missed a possibility to quickly show a clients image status to verify if he has applied the latest image. So a corresponding feature will be helpful.

HappyBasher commented 3 years ago

If a client successfully applies or creates an image then a status file will be pushed to the server via rsync-pre-download.sh. The file is stored under LINBODIR/log/\<hostname>_image.status. The file contains a timestamp when the image was applied or created, the image name and the creation date of the image, so one can see if it is the latest available image. Example:

202008081627 created: ubuntu1804.cloop 202008081627
202011111121 applied: win10-efi.cloop 202007211343

Only the status of the latest successfully finished imaging action will be logged. If a client is housing multiple operating systems with images then multiple entries (one per image) will be provided.