Add basic logic needed to correctly mount the VHD when initializing a server.

This commit is contained in:
Dane Everitt
2021-07-04 12:12:32 -07:00
committed by DaneEveritt
parent 7fed6a68cb
commit 265f8a6b39
8 changed files with 63 additions and 32 deletions

View File

@@ -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")
}