diff --git a/test/api/CloudInit/shared_test.go b/test/api/CloudInit/shared_test.go index abe34d8c..ecdebb3a 100644 --- a/test/api/CloudInit/shared_test.go +++ b/test/api/CloudInit/shared_test.go @@ -4,12 +4,6 @@ import ( pxapi "github.com/Telmate/proxmox-api-go/proxmox" ) -func _create_basevmref() (ref *pxapi.VmRef) { - ref = pxapi.NewVmRef(100) - ref.SetNode("pve") - ref.SetVmType("qemu") - return ref -} func _create_vmref() (ref *pxapi.VmRef) { ref = pxapi.NewVmRef(101) ref.SetNode("pve") diff --git a/test/api/Test.go b/test/api/Test.go index e09b7fcb..6a71fa8a 100644 --- a/test/api/Test.go +++ b/test/api/Test.go @@ -19,7 +19,7 @@ type Test struct { func (test *Test) CreateClient() (err error) { if test.APIurl == "" { - test.APIurl = "https://172.26.8.219:8006/api2/json" + test.APIurl = "https://127.0.0.1:8006/api2/json" } if test.UserID == "" { test.UserID = "root@pam"