Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 336e27f383 | |||
| 9174571ea4 |
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@apiclient.xyz/hetznercloud",
|
||||
"version": "1.0.9",
|
||||
"version": "1.0.10",
|
||||
"private": false,
|
||||
"description": "an unofficial api client for the hetzner cloud api",
|
||||
"main": "dist_ts/index.js",
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@apiclient.xyz/hetznercloud',
|
||||
version: '1.0.9',
|
||||
version: '1.0.10',
|
||||
description: 'an unofficial api client for the hetzner cloud api'
|
||||
}
|
||||
|
||||
@@ -9,6 +9,7 @@ export class HetznerServer {
|
||||
optionsArg: {
|
||||
name: string;
|
||||
location: 'nbg1';
|
||||
labels: {[key: string]: string},
|
||||
}
|
||||
) {
|
||||
const server = new HetznerServer(hetznerAccountRefArg);
|
||||
@@ -19,7 +20,7 @@ export class HetznerServer {
|
||||
image: 'ubuntu-22.04',
|
||||
server_type: 'cx11',
|
||||
start_after_create: true,
|
||||
labels: {},
|
||||
labels: optionsArg.labels || {} as any,
|
||||
location: optionsArg.location,
|
||||
public_net: {
|
||||
enable_ipv4: true,
|
||||
|
||||
Reference in New Issue
Block a user