]> granicus.if.org Git - icinga2/commitdiff
Update the ZoneName constant in "node wizard"
authorGunnar Beutner <gunnar@beutner.name>
Thu, 5 Feb 2015 09:33:40 +0000 (10:33 +0100)
committerGunnar Beutner <gunnar@beutner.name>
Thu, 5 Feb 2015 09:33:40 +0000 (10:33 +0100)
fixes #8162

lib/cli/nodewizardcommand.cpp

index cb40ea28257895de42e6b1705ed77f9d00b0b417..9e35e780402ebc51e700813ba78881c316ea649f 100644 (file)
@@ -390,7 +390,7 @@ wizard_ticket:
                NodeUtility::CreateBackupFile(constants_file);
 
                NodeUtility::UpdateConstant("NodeName", cn);
-
+               NodeUtility::UpdateConstant("ZoneName", local_zone);
        } else {
                /* master setup */
                std::cout << ConsoleColorTag(Console_Bold) << "Starting the Master setup routine...\n";