This is an automated email from the ASF dual-hosted git repository. bhaisaab pushed a commit to branch debian9-systemvmtemplate in repository https://gitbox.apache.org/repos/asf/cloudstack.git
commit 8bb33cbca7b9edacd0fb140154b41993adafc630 Author: Rohit Yadav <[email protected]> AuthorDate: Thu Nov 23 14:46:19 2017 +0530 Use sha512 sum, use distro provided packages Signed-off-by: Rohit Yadav <[email protected]> --- .../appliance/definitions/systemvmtemplate/definition.rb | 2 +- .../systemvmtemplate/install_systemvm_packages.sh | 15 ++++++--------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/tools/appliance/definitions/systemvmtemplate/definition.rb b/tools/appliance/definitions/systemvmtemplate/definition.rb index a261a63..33c8e8b 100644 --- a/tools/appliance/definitions/systemvmtemplate/definition.rb +++ b/tools/appliance/definitions/systemvmtemplate/definition.rb @@ -29,7 +29,7 @@ architectures = { :os_type_id => 'Debian_64', :iso_file => 'debian-9.2.1-amd64-netinst.iso', :iso_src => 'https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-9.2.1-amd64-netinst.iso', - :iso_md5 => '5c583fd40360fd039b3ac98387b77dbb' + :iso_sha512 => 'ebfe25dc593967e39349b205480b0ec0103ef4a0468c602f4857e13d06d407bfe876162399e0e8d4dea5675953dc37ab585316f307ccf9f4440124b4f719df04' } } diff --git a/tools/appliance/definitions/systemvmtemplate/install_systemvm_packages.sh b/tools/appliance/definitions/systemvmtemplate/install_systemvm_packages.sh index c9999be..d02e5b4 100644 --- a/tools/appliance/definitions/systemvmtemplate/install_systemvm_packages.sh +++ b/tools/appliance/definitions/systemvmtemplate/install_systemvm_packages.sh @@ -75,22 +75,19 @@ function install_packages() { haproxy \ radvd \ sharutils \ - keepalived irqbalance open-vm-tools qemu-guest-agent \ + keepalived irqbalance open-vm-tools qemu-guest-agent hyperv-daemons \ strongswan libcharon-extra-plugins libstrongswan-extra-plugins + # Install xenserver guest utilities as debian repos don't have it + wget https://mirrors.kernel.org/ubuntu/pool/universe/x/xe-guest-utilities/xe-guest-utilities_7.4.0-0ubuntu1_amd64.deb + dpkg -i xe-guest-utilities_7.4.0-0ubuntu1_amd64.deb + rm -f xe-guest-utilities_7.4.0-0ubuntu1_amd64.deb + apt-get autoclean apt-get clean apt-get update apt-get -y upgrade - - if [ "${arch}" == "amd64" ]; then - # Hyperv kvp daemon - 64bit only - # Download the hv kvp daemon - wget http://people.apache.org/~rajeshbattala/hv-kvp-daemon_3.1_amd64.deb - dpkg -i hv-kvp-daemon_3.1_amd64.deb - rm -f hv-kvp-daemon_3.1_amd64.deb - fi } return 2>/dev/null || install_packages -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
