From daf7db76b68b2b70f653fcb1dbf9c4639d63f8cc Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Wed, 15 Jan 2025 15:38:25 +0900 Subject: [PATCH] Update ovftool.js --- lib/ovftool.js | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/lib/ovftool.js b/lib/ovftool.js index 31a2b8d..40f32ba 100644 --- a/lib/ovftool.js +++ b/lib/ovftool.js @@ -2,13 +2,16 @@ // Namhyeon Go // https://github.com/gnh1201/welsonjs // +// Download OVFTool (Open Virtualization Format (OVF) Tool): +// https://developer.broadcom.com/tools/open-virtualization-format-ovf-tool/latest +// var SHELL = require("lib/shell"); var CRED = require("lib/credentials"); function OVFObject() { this.binPath = "bin\\x64\\VMware-ovftool-4.6.3-24031167-win.x86_64\\ovftool\\ovftool.exe"; this.hostname = ""; - this.port = 443; + this.port = 443; this.resourceName = ""; this.setBinPath = function(binPath) { @@ -18,10 +21,10 @@ function OVFObject() { this.setHostName = function(hostname) { this.hostname = hostname; }; - - this.setPort = function(port) { - this.port = port; - }; + + this.setPort = function(port) { + this.port = port; + }; this.setResourceName = function(resourceName) { this.resourceName = resourceName; @@ -40,8 +43,8 @@ function OVFObject() { connectionString, filename ]; - - console.log("connectionString:", connectionString); + + console.log("Use this connection string:", connectionString); // run the command synchronously SHELL.show(cmd, false);