diff --git a/patches/systemvm/debian/config/etc/init.d/cloud-early-config b/patches/systemvm/debian/config/etc/init.d/cloud-early-config index 02af6026639..c0a7189d7a4 100755 --- a/patches/systemvm/debian/config/etc/init.d/cloud-early-config +++ b/patches/systemvm/debian/config/etc/init.d/cloud-early-config @@ -194,6 +194,122 @@ patch() { return 0 } +patch_log4j() { +log_it "Updating log4j-cloud.xml" +cat << "EOF" > /usr/local/cloud/systemvm/conf/temp.xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +EOF +mv /usr/local/cloud/systemvm/conf/temp.xml /usr/local/cloud/systemvm/conf/log4j-cloud.xml +} setup_interface() { local intfnum=$1 local ip=$2 @@ -1048,6 +1164,7 @@ start() { log_it "Detected that we are running inside $hyp guest" get_boot_params patch + patch_log4j parse_cmd_line change_password case $TYPE in