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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user