summaryrefslogtreecommitdiffstats
path: root/core/modules/vmware15
diff options
context:
space:
mode:
authorJonathan Bauer2019-11-08 14:46:18 +0100
committerJonathan Bauer2019-11-08 14:46:18 +0100
commit3c91893094c46788d4477f05f898b53659c4b7b3 (patch)
tree64e468ba5c2b408c5bb224c1b30cb5a8d693cb3b /core/modules/vmware15
parent[run-virt] UPDATE OPENSLX:EXEE R" ! (diff)
downloadmltk-3c91893094c46788d4477f05f898b53659c4b7b3.tar.gz
mltk-3c91893094c46788d4477f05f898b53659c4b7b3.tar.xz
mltk-3c91893094c46788d4477f05f898b53659c4b7b3.zip
[vmware15] garantee single accept(OVF)?EULA lines
Diffstat (limited to 'core/modules/vmware15')
-rw-r--r--core/modules/vmware15/module.build8
1 files changed, 7 insertions, 1 deletions
diff --git a/core/modules/vmware15/module.build b/core/modules/vmware15/module.build
index e6c25d48..ef76fc6f 100644
--- a/core/modules/vmware15/module.build
+++ b/core/modules/vmware15/module.build
@@ -134,7 +134,13 @@ build() {
EOF
# Patch system-wide vmware config
- sed -i '/^installerDefaults.autoSoftwareUpdateEnabled/d;/^installerDefaults.componentDownloadEnabled/d;/^installerDefaults.dataCollectionEnabled/d' "${MODULE_BUILD_DIR}/etc/vmware/config"
+ sed -i '/^installerDefaults.autoSoftwareUpdateEnabled/d;
+ /^installerDefaults.componentDownloadEnabled/d;
+ /^installerDefaults.dataCollectionEnabled/d;
+ /^acceptEULA/d;
+ /^acceptOVFEULA/d
+ ' "${MODULE_BUILD_DIR}/etc/vmware/config"
+
cat >> "${MODULE_BUILD_DIR}/etc/vmware/config" <<-HEREDOC
installerDefaults.autoSoftwareUpdateEnabled = "no"
installerDefaults.componentDownloadEnabled = "no"