1
0
mirror of https://github.com/rancher/os.git synced 2025-08-31 22:32:14 +00:00

Add cloud-config for noformat install-type

(cherry picked from commit 90e88cf2b4)
This commit is contained in:
niusmallnan
2018-10-08 14:58:03 +08:00
parent 0f6dacb819
commit 4d91f43a6e

View File

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