Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Commit

Permalink
Add cloud-config for noformat install-type
Browse files Browse the repository at this point in the history
(cherry picked from commit 90e88cf)
  • Loading branch information
niusmallnan committed Oct 10, 2018
1 parent 0f6dacb commit 4d91f43
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmd/control/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,11 @@ func layDownOS(image, installType, cloudConfig, device, partition, statedir, kap
if err := os.MkdirAll(filepath.Join(baseName, statedir), 0755); err != nil {
return err
}
err = seedData(baseName, cloudConfig, FILES)
if err != nil {
log.Errorf("seedData %s", err)
return err
}
case "raid":
var err error
device, partition, err = install.MountDevice(baseName, device, partition, false)
Expand Down

0 comments on commit 4d91f43

Please sign in to comment.