Add basic logic needed to correctly mount the VHD when initializing a server.
This commit is contained in:
committed by
DaneEveritt
parent
7fed6a68cb
commit
265f8a6b39
@@ -38,7 +38,7 @@ func New(ctx context.Context, manager *server.Manager, details ServerDetails) (*
|
||||
|
||||
// Create a new server instance using the configuration we wrote to the disk
|
||||
// so that everything gets instantiated correctly on the struct.
|
||||
s, err := manager.InitServer(c)
|
||||
s, err := manager.InitServer(ctx, c)
|
||||
if err != nil {
|
||||
return nil, errors.WrapIf(err, "installer: could not init server instance")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user