From: Frank Brehm Date: Thu, 29 Mar 2018 10:14:26 +0000 (+0200) Subject: Implementing remove_uek_packages() in bin/postinst X-Git-Tag: 0.1.1~71 X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=71f05dbb5f371c371bc52f98e490e042f2bde7e6;p=pixelpark%2Fcreate-vmware-tpl.git Implementing remove_uek_packages() in bin/postinst --- diff --git a/bin/postinst b/bin/postinst index f606297..45480e7 100644 --- a/bin/postinst +++ b/bin/postinst @@ -494,6 +494,16 @@ install_openvm_tools() { } +#----------------------------------------------------------- +remove_uek_packages() { + + echo + log "Removing UEK packages ..." + + yum remove -y *-uek-* + +} + #----------------------------------------------------------- dist_upgrade() { @@ -607,6 +617,7 @@ main() { install_legato_networker install_ntp install_openvm_tools + remove_uek_packages dist_upgrade install_puppet