implement backup system
This commit is contained in:
parent
7eb7e2fa1c
commit
300ca653cc
6 changed files with 88 additions and 6 deletions
|
@ -29,4 +29,7 @@ func Set_Dracut() {
|
|||
|
||||
// Add to our kernel arguments file that vfio_pci should load early (dracut does this using kernel arguments)
|
||||
fileio.AppendContent(" rd.driver.pre=vfio_pci", config.Path.CMDLINE)
|
||||
|
||||
// Make a backup of dracutConf if there is one there
|
||||
backupFile(strings.Replace(dracutConf, "config", "", 1))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue