mirror of
https://github.com/kairos-io/kairos-sdk.git
synced 2025-08-31 06:35:08 +00:00
Support the use of private registry with Luet
This commit is contained in:
committed by
Dimitris Karakasilis
parent
ce21ef0b01
commit
04c1b55f12
@@ -284,11 +284,13 @@ func (l *LuetInstaller) Install(config *BundleConfig) error {
|
||||
}
|
||||
out, err := utils.SH(
|
||||
fmt.Sprintf(
|
||||
`LUET_CONFIG_FROM_HOST=false luet repo add --system-dbpath %s --system-target %s kairos-system -y --description "Automatically generated kairos-system" --url "%s" --type "%s"`,
|
||||
`LUET_CONFIG_FROM_HOST=false luet repo add --system-dbpath %s --system-target %s kairos-system -y --description "Automatically generated kairos-system" --url "%s" --type "%s" --username "%s" --passwd "%s"`,
|
||||
config.DBPath,
|
||||
config.RootPath,
|
||||
repo,
|
||||
t,
|
||||
config.Auth.Username,
|
||||
config.Auth.Password,
|
||||
),
|
||||
)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user