This commit is contained in:
Maxime Van Hees
2025-09-01 16:12:50 +02:00
parent da3da0ae30
commit f4512b66cf
8 changed files with 991 additions and 238 deletions

View File

@@ -109,6 +109,8 @@ if !(prep_ok) {
// ------------------------------------------------------------------------------------
banner("PHASE 3: Launch via cloudhv_builder (disk from Phase 2)");
let b = cloudhv_builder(vmA);
// Explicitly select Default NAT networking (bridge + NAT + dnsmasq; IPv6 via Mycelium if enabled)
let b = network_default_nat(b);
let b = disk(b, prep_res.raw_disk);
let b = memory_mb(b, 4096);
let b = vcpus(b, 2);
@@ -183,6 +185,10 @@ try {
throw "Stopping due to vm_easy_launch failure";
}
// Allow time for VM to fully boot and SSH to be ready
print("Sleeping 30 seconds for VM to boot... You can try SSH during this time.");
sleep(30000000); // 30 seconds
// ------------------------------------------------------------------------------------
// Phase 7: Inspect VM B info, list VMs
// ------------------------------------------------------------------------------------