#!/bin/sh -eux

# Install missing packages
zypper install -y kernel-default-devel gcc

# this is needed for the vmware tools install to complete
if [[ "$PACKER_BUILDER_TYPE" == vmware-iso ]]; then
  zypper install -y insserv-compat
fi
#!/bin/sh -eux

# Install missing packages
zypper install -y kernel-default-devel gcc

# make sure we have tools we need for the vm extensions
case "$PACKER_BUILDER_TYPE" in
virtualbox-iso|virtualbox-ovf)
  zypper install -y bzip2;
  ;;
vmware-iso)
  zypper install -y insserv-compat;
  ;;
esac
Make sure we have bzip2 for virtualbox tools on opensuse
Make sure we have bzip2 for virtualbox tools on opensuse

This should get us working virtualbox tools which we need for Test Kitchen

Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
