edf-hpc / clara

Cluster Administration tools
Other
18 stars 12 forks source link

Clara should execute "apt-get upgrade" before packing image #83

Closed fmdm closed 7 years ago

fmdm commented 7 years ago

When building the diskless image, it is possible to have some packages in old versions, as debootstrap can use only one repository. If newer versions are available in repos added after the debootstrap phase, there are not updated. A simple solution could be to add an "apt- upgrade" command just before building the squashfs file.