Align iso ssh username to be core
@@ -64,14 +64,6 @@ const ignitionConfigFormat = `{
"ignition": { "version": "3.0.0" },
"passwd": {
"users": [
- {
- "groups": [
- "sudo",
- "docker"
- ],
- "name": "core",
- "passwordHash": "$6$MWO4bibU8TIWG0XV$Hiuj40lWW7pHiwJmXA8MehuBhdxSswLgvGxEh8ByEzeX2D1dk87JILVUYS4JQOP45bxHRegAB9Fs/SWfszXa5."
- }
{{.userSshKey}}
]
},
@@ -205,8 +197,8 @@ func (b *bareMetalInventory) getUserSshKey(params installer.GenerateClusterISOPa
if sshKey == "" {
return ""
}
- return fmt.Sprintf(`,{
- "name": "systemUser",
+ return fmt.Sprintf(`{
+ "name": "core",
"passwordHash": "$6$MWO4bibU8TIWG0XV$Hiuj40lWW7pHiwJmXA8MehuBhdxSswLgvGxEh8ByEzeX2D1dk87JILVUYS4JQOP45bxHRegAB9Fs/SWfszXa5.",
"sshAuthorizedKeys": [
"%s"],
