Refactor code structure for improved readability and maintainability
This commit is contained in:
@@ -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)
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user