diff --git a/add.go b/add.go index c650803..6813aa8 100644 --- a/add.go +++ b/add.go @@ -101,6 +101,7 @@ func (c *NewCluster) AddDropletSimple(uuid string, hostname string, cpus int, me d.Cpus = 1 } d.Memory = SetGB(mem * 32) + d.StartState = DropletState_OFF c.AddDroplet(d) return d } @@ -113,6 +114,7 @@ func (c *NewCluster) AddDropletLocal(name string, hypername string) *Droplet { d.LocalOnly = hypername d.Current = new(Current) d.Current.Hypervisor = hypername + d.StartState = DropletState_OFF d.Current.State = DropletState_OFF c.AddDroplet(d)