summaryrefslogtreecommitdiff
path: root/pkg/machine/e2e/config_start.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/machine/e2e/config_start.go')
-rw-r--r--pkg/machine/e2e/config_start.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/pkg/machine/e2e/config_start.go b/pkg/machine/e2e/config_start.go
new file mode 100644
index 000000000..86b1721f8
--- /dev/null
+++ b/pkg/machine/e2e/config_start.go
@@ -0,0 +1,16 @@
+package e2e
+
+type startMachine struct {
+ /*
+ No command line args other than a machine vm name (also not required)
+ */
+ cmd []string
+}
+
+func (s startMachine) buildCmd(m *machineTestBuilder) []string {
+ cmd := []string{"machine", "start"}
+ if len(m.name) > 0 {
+ cmd = append(cmd, m.name)
+ }
+ return cmd
+}