--- register.go.orig 2023-01-27 11:47:09.384066280 -0500
+++ register.go 2023-01-27 11:47:28.493289715 -0500
@@ -61,7 +61,7 @@
return err
}
- if err := privConn.Object("com.redhat.RHSM1", "/com/redhat/RHSM1/Register").Call("com.redhat.RHSM1.Register.Register", dbus.Flags(0), "", username, password, map[string]string{}, map[string]string{}, "").Err; err != nil {
+ if err := privConn.Object("com.redhat.RHSM1", "/com/redhat/RHSM1/Register").Call("com.redhat.RHSM1.Register.Register", dbus.Flags(0), "", username, password, map[string]string{"enable_content": "true"}, map[string]string{}, "").Err; err != nil {
return unpackError(err)
}