diff --git a/tools/appliance/definitions/systemvm64template/postinstall.sh b/tools/appliance/definitions/systemvm64template/postinstall.sh index a9a057d4e55..144187d18e7 100644 --- a/tools/appliance/definitions/systemvm64template/postinstall.sh +++ b/tools/appliance/definitions/systemvm64template/postinstall.sh @@ -69,7 +69,7 @@ install_packages() { # ipcalc apt-get --no-install-recommends -q -y --force-yes install ipcalc # java - apt-get --no-install-recommends -q -y --force-yes install default-jre-headless + apt-get --no-install-recommends -q -y --force-yes install openjdk-7-jre-headless echo "iptables-persistent iptables-persistent/autosave_v4 boolean true" | debconf-set-selections echo "iptables-persistent iptables-persistent/autosave_v6 boolean true" | debconf-set-selections diff --git a/tools/appliance/definitions/systemvmtemplate/postinstall.sh b/tools/appliance/definitions/systemvmtemplate/postinstall.sh index 48ba04b5280..a4ff11f2fbc 100644 --- a/tools/appliance/definitions/systemvmtemplate/postinstall.sh +++ b/tools/appliance/definitions/systemvmtemplate/postinstall.sh @@ -65,7 +65,7 @@ install_packages() { # ipcalc apt-get --no-install-recommends -q -y --force-yes install ipcalc # java - apt-get --no-install-recommends -q -y --force-yes install default-jre-headless + apt-get --no-install-recommends -q -y --force-yes install openjdk-7-jre-headless echo "iptables-persistent iptables-persistent/autosave_v4 boolean true" | debconf-set-selections echo "iptables-persistent iptables-persistent/autosave_v6 boolean true" | debconf-set-selections