From 936537cfe752e82f4782d6b8f5ff2ff85132c555 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Mon, 15 Apr 2019 10:36:19 -0400 Subject: [PATCH] Call the runtime with WithRenumber() when asked We must have lost this at some point, rendering system renumber useless. Signed-off-by: Matthew Heon --- cmd/podman/libpodruntime/runtime.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmd/podman/libpodruntime/runtime.go b/cmd/podman/libpodruntime/runtime.go index 3faea493c4..78adf12529 100644 --- a/cmd/podman/libpodruntime/runtime.go +++ b/cmd/podman/libpodruntime/runtime.go @@ -64,6 +64,10 @@ func getRuntime(c *cliconfig.PodmanCommand, renumber bool) (*libpod.Runtime, err storageOpts.GraphDriverOptions = c.GlobalFlags.StorageOpts } + if renumber { + options = append(options, libpod.WithRenumber()) + } + // Only set this if the user changes storage config on the command line if storageSet { options = append(options, libpod.WithStorageConfig(storageOpts))