mirror of
https://github.com/kairos-io/kairos-sdk.git
synced 2025-09-03 08:14:32 +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(
|
out, err := utils.SH(
|
||||||
fmt.Sprintf(
|
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.DBPath,
|
||||||
config.RootPath,
|
config.RootPath,
|
||||||
repo,
|
repo,
|
||||||
t,
|
t,
|
||||||
|
config.Auth.Username,
|
||||||
|
config.Auth.Password,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Reference in New Issue
Block a user