From f093d4d38dfc25a7178d4543b1c744c60a9c472b Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Tue, 19 Nov 2013 11:25:58 +0000 Subject: [PATCH] Fix troubleshooting override. We can now actually override the $TROUBLESHOOT environment variable in ramdisks, by not declaring it as readonly. Yay for insufficient end-to-end testing. Change-Id: I026c9dbdd411bf3eb945d5b18188eb1eedf3850a --- elements/ramdisk/extra-data.d/scripts/init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elements/ramdisk/extra-data.d/scripts/init b/elements/ramdisk/extra-data.d/scripts/init index 760bb6bf..509bd9ac 100644 --- a/elements/ramdisk/extra-data.d/scripts/init +++ b/elements/ramdisk/extra-data.d/scripts/init @@ -47,7 +47,7 @@ readonly DISK=$(get_kernel_parameter disk) readonly DEPLOYMENT_ID=$(get_kernel_parameter deployment_id) readonly DEPLOYMENT_KEY=$(get_kernel_parameter deployment_key) readonly ISCSI_TARGET_IQN=$(get_kernel_parameter iscsi_target_iqn) -readonly TROUBLESHOOT=$(get_kernel_parameter troubleshoot) +TROUBLESHOOT=$(get_kernel_parameter troubleshoot) FIRST_ERR_MSG= mount -t sysfs none /sys