fix(core): update
This commit is contained in:
parent
4a722b79b7
commit
9174571ea4
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@apiclient.xyz/hetznercloud',
|
name: '@apiclient.xyz/hetznercloud',
|
||||||
version: '1.0.9',
|
version: '1.0.10',
|
||||||
description: 'an unofficial api client for the hetzner cloud api'
|
description: 'an unofficial api client for the hetzner cloud api'
|
||||||
}
|
}
|
||||||
|
@ -9,6 +9,7 @@ export class HetznerServer {
|
|||||||
optionsArg: {
|
optionsArg: {
|
||||||
name: string;
|
name: string;
|
||||||
location: 'nbg1';
|
location: 'nbg1';
|
||||||
|
labels: {[key: string]: string},
|
||||||
}
|
}
|
||||||
) {
|
) {
|
||||||
const server = new HetznerServer(hetznerAccountRefArg);
|
const server = new HetznerServer(hetznerAccountRefArg);
|
||||||
@ -19,7 +20,7 @@ export class HetznerServer {
|
|||||||
image: 'ubuntu-22.04',
|
image: 'ubuntu-22.04',
|
||||||
server_type: 'cx11',
|
server_type: 'cx11',
|
||||||
start_after_create: true,
|
start_after_create: true,
|
||||||
labels: {},
|
labels: optionsArg.labels || {} as any,
|
||||||
location: optionsArg.location,
|
location: optionsArg.location,
|
||||||
public_net: {
|
public_net: {
|
||||||
enable_ipv4: true,
|
enable_ipv4: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user