diff --git a/core/recipe.go b/core/recipe.go index 3cacff9e..ebddcb21 100644 --- a/core/recipe.go +++ b/core/recipe.go @@ -235,10 +235,6 @@ func runSetupOperation(diskLabel, operation string, args []interface{}) error { if !ok { return operationError(operation, "%v is not a string", partNewName) } - err = target.GetPartition(partNum).SetLabel(partNewName) - if err != nil { - return operationError(operation, err) - } err = target.GetPartition(partNum).NamePartition(partNewName) if err != nil { return operationError(operation, err)