Small fixes for azure
This commit is contained in:
		| @@ -2,17 +2,17 @@ | ||||
| # Replace the x's with the IP addresses from "terrafrom output" | ||||
| dc: | ||||
|   hosts: | ||||
|     x.x.x.x: | ||||
|     13.77.149.92: | ||||
|  | ||||
| wef: | ||||
|   hosts: | ||||
|     y.y.y.y: | ||||
|     13.66.251.74: | ||||
|  | ||||
| win10: | ||||
|   hosts: | ||||
|     z.z.z.z: | ||||
|     13.66.225.219: | ||||
|  | ||||
| #exchange: | ||||
|   #hosts: | ||||
|     #w.w.w.w: | ||||
| exchange: | ||||
|   hosts: | ||||
|     52.183.7.185: | ||||
|  | ||||
|   | ||||
| @@ -4,4 +4,5 @@ locals { | ||||
|   ata_url    = "https://${azurerm_public_ip.wef-publicip.ip_address}" | ||||
|   guacamole_url = "http://${azurerm_public_ip.logger-publicip.ip_address}:8080/guacamole" | ||||
|   velociraptor_url = "https://${azurerm_public_ip.logger-publicip.ip_address}:9999" | ||||
|   exchange_url    = "https://${azurerm_public_ip.exchange-publicip[0].ip_address}" | ||||
| } | ||||
|   | ||||
| @@ -553,7 +553,7 @@ resource "azurerm_virtual_machine" "exchange" { | ||||
|   } | ||||
|  | ||||
|   storage_os_disk { | ||||
|     name              = "OsDiskWef" | ||||
|     name              = "OsDiskExchange" | ||||
|     caching           = "ReadWrite" | ||||
|     create_option     = "FromImage" | ||||
|     managed_disk_type = "Standard_LRS" | ||||
|   | ||||
| @@ -18,6 +18,10 @@ output "win10_public_ip" { | ||||
|   value = azurerm_public_ip.win10-publicip.ip_address  | ||||
| } | ||||
|  | ||||
| output "exchange_public_ip" { | ||||
|   value = azurerm_public_ip.exchange-publicip[0].ip_address | ||||
| } | ||||
|  | ||||
| output "ata_url" { | ||||
|   value = local.ata_url | ||||
| } | ||||
| @@ -39,5 +43,5 @@ output "velociraptor_url" { | ||||
| } | ||||
|  | ||||
| output "exchange_url" { | ||||
|   value = local.velociraptor_url | ||||
|   value = local.exchange_url | ||||
| } | ||||
|   | ||||
| @@ -30,7 +30,7 @@ Write-Host "$('[{0:HH:mm}]' -f (Get-Date)) [+] Failure to reboot will cause the | ||||
|  | ||||
| # Warn the user if less than 8GB of memory | ||||
| If ($physicalMemory -lt 8000000000) { | ||||
|     Write-Host "It is STRONGLY recommended that you provide this host with 4GB+ of memory before continuing or it is highly likely that it will run out of memory while installing Exchange." | ||||
|     Write-Host "It is STRONGLY recommended that you provide this host with 8GB+ of memory before continuing or it is highly likely that it will run out of memory while installing Exchange." | ||||
|     $ignore = Read-Host "Type 'ignore' to continue anyways, otherwise this script will exit." | ||||
|     If ($ignore -ne "ignore") { | ||||
|         Write-Host "Exiting." | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Chris Long
					Chris Long