fix(core): update
This commit is contained in:
@@ -8,7 +8,8 @@ export class HetznerServer {
|
||||
hetznerAccountRefArg: HetznerAccount,
|
||||
optionsArg: {
|
||||
name: string;
|
||||
location: 'nbg1';
|
||||
type: types.THetznerCloudServerName;
|
||||
location: types.THetznerCloudLocationName;
|
||||
labels: {[key: string]: string},
|
||||
}
|
||||
) {
|
||||
@@ -18,7 +19,7 @@ export class HetznerServer {
|
||||
const createServerPayload: types.TServerCreateRequestBody = {
|
||||
name: optionsArg.name,
|
||||
image: 'ubuntu-22.04',
|
||||
server_type: 'cx11',
|
||||
server_type: optionsArg.type,
|
||||
start_after_create: true,
|
||||
labels: optionsArg.labels || {} as any,
|
||||
location: optionsArg.location,
|
||||
|
||||
Reference in New Issue
Block a user