bin/mu-azure-setup in cloud-mu-3.5.0 vs bin/mu-azure-setup in cloud-mu-3.5.1

- old
+ new

@@ -45,15 +45,15 @@ # opt :dns, "Ensure the presence of a private DNS Zone called for internal amongst Mu resources.", :require => false, :default => false, :type => :boolean opt :uploadlogs, "Push today's log files to the Cloud Storage bucket created by the -l option.", :require => false, :default => false, :type => :boolean opt :optdisk, "Create a block volume for /opt and slide our installation onto it", :require => false, :default => false, :type => :boolean end -if MU::Cloud::Azure.hosted? and !$MU_CFG['google'] +if MU::Cloud::Azure.hosted? and !$MU_CFG['azure'] new_cfg = $MU_CFG.dup cfg_blob = MU::Cloud::Azure.hosted_config if cfg_blob cfg_blob['log_bucket_name'] ||= $MU_CFG['hostname'] - new_cfg["google"] = { "default" => cfg_blob } + new_cfg["azure"] = { "default" => cfg_blob } MU.log "Adding auto-detected Azure stanza to #{cfgPath}", MU::NOTICE if new_cfg != $MU_CFG or !cfgExists? MU.log "Generating #{cfgPath}" saveMuConfig(new_cfg) $MU_CFG = new_cfg