Refactor code structure for improved readability and maintainability

This commit is contained in:
baodev0
2026-08-10 08:37:52 +07:00
parent d6d63e5152
commit e3d3dea8aa
31 changed files with 290 additions and 319 deletions
+6 -3
View File
@@ -12,12 +12,15 @@ use Illuminate\Support\Facades\Log;
final class VmProvisionService
{
/** Default password baked into every VM template */
public const TEMPLATE_PASSWORD = 'TGS@123';
public const OS_LINUX = 'LINUX';
public const OS_WINDOWS = 'WINDOWS';
/** Default password baked into every VM template */
public static function templatePassword(): string
{
return config('vmware.template_password');
}
// -------------------------------------------------------------------------
// vCenter REST helpers (used by WaitVmReadyJob if still in flow)
// -------------------------------------------------------------------------