- deploy from internal repo
- email ticket for auditing
- using apt-mirror to build internal repo
patch-script template created
- patch with curl : curl http://internal-repo/patch-script | sudo bash
findpkg tool to identify installed packages
osversion to show system version
- directory layout : osversion expects ~/operations/inventory/$ENVIRONMENT/$SERVER/issue copy from $SERVER/etc/issue
- directory layout : findpkg expects ~/operations/inventory/$ENVIRONMENT/$SERVER/dpkg/dpkg.list
- dpkg.list is populated using :
dpkg -l | awk '{ print $2, $3}' | sed '1,5d' > dpkg.list