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

Replace partprobe with partx

This commit is contained in:
Josh Curl
2016-08-18 15:35:39 -07:00
parent a81be13f82
commit da69a464fb
2 changed files with 2 additions and 7 deletions

View File

@@ -150,12 +150,6 @@ func resizeDevice(cfg *rancherConfig.CloudConfig) error {
return err
}
cmd = exec.Command("partprobe")
err = cmd.Run()
if err != nil {
return err
}
cmd = exec.Command("resize2fs", fmt.Sprintf("%s1", cfg.Rancher.ResizeDevice))
err = cmd.Run()
if err != nil {