cleanup salt more strict
* finally satisfy salt - add virt-what pkg by default for all.
* set default log_file: /var/log/salt/(minion|master)
For some reason salt 2017.7.5+ds-1 ignore default values and stuck after
restart with
2018-07-19 20:04:04,811 [salt.log.setup :1145][ERROR ][32030] An un-handled exception was caught by salt's global exception handler:
IOError: [Errno 9] Bad file descriptor
IOError: [Errno 9] Bad file descriptor
Change-Id: I276e410a86ba8f8ad8f68b110a90408558800d70
diff --git a/common/ubuntu_base.sh b/common/ubuntu_base.sh
index a910154..e8fbc59 100644
--- a/common/ubuntu_base.sh
+++ b/common/ubuntu_base.sh
@@ -41,7 +41,7 @@
# Pretty tools
EXTRA_PKGS="${EXTRA_PKGS} byobu htop tmux tree vim-nox mc"
# Common prerequisites
-EXTRA_PKGS="${EXTRA_PKGS} apt-transport-https libmnl0 python-apt python-m2crypto python-psutil acpid"
+EXTRA_PKGS="${EXTRA_PKGS} apt-transport-https libmnl0 python-apt python-m2crypto python-psutil acpid virt-what"
apt-get -y install ${EXTRA_PKGS}
# Cleanup old kernels, ensure latest is installed via virtual package