1
0
mirror of https://github.com/rancher/os.git synced 2025-09-12 13:17:17 +00:00

Add version string to the initrd file so we can have 2 modern initrd's on the disk

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit
2017-01-27 02:53:44 +00:00
parent e2992d1626
commit b3a9893fcf
7 changed files with 21 additions and 13 deletions

View File

@@ -975,6 +975,7 @@ func installRancher(baseName, bootDir, VERSION, DIST, kappend string) error {
log.Errorf("copy %s: %s", file.Name(), err)
return err
}
log.Debugf("copied %s to %s as %s", filepath.Join(DIST, file.Name()), filepath.Join(baseName, bootDir), file.Name())
}
// the general INCLUDE syslinuxcfg
if err := dfs.CopyFile(filepath.Join(DIST, "isolinux", "isolinux.cfg"), filepath.Join(baseName, bootDir, "syslinux"), "syslinux.cfg"); err != nil {