]> Frank Brehm's Git Trees - pixelpark/create-vmware-tpl.git/commitdiff
Implementing remove_uek_packages() in bin/postinst
authorFrank Brehm <frank.brehm@pixelpark.com>
Thu, 29 Mar 2018 10:14:26 +0000 (12:14 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Thu, 29 Mar 2018 10:14:26 +0000 (12:14 +0200)
bin/postinst

index f606297c9e62c06cf7428e7cb4089c53f8e3fa15..45480e79c34150a0fd92bb97ae28ec18dfe32485 100644 (file)
@@ -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