add support for chef-client arguments
refactor virtualization detection
fix various debian/ubuntu regressions