summaryrefslogtreecommitdiff
path: root/br-ct-sync-chroots
diff options
context:
space:
mode:
Diffstat (limited to 'br-ct-sync-chroots')
-rwxr-xr-xbr-ct-sync-chroots6
1 files changed, 3 insertions, 3 deletions
diff --git a/br-ct-sync-chroots b/br-ct-sync-chroots
index 5ca8998..59fb8b9 100755
--- a/br-ct-sync-chroots
+++ b/br-ct-sync-chroots
@@ -49,7 +49,7 @@ add_entries () {
add_conf_line "directory=${BASEROCK_BASE}/${entry}"
add_conf_line "description=Baserock in $entry"
add_conf_line "users=root"
- add_conf_line "script-config=baserock-$entry/config"
+ add_conf_line "profile=baserock-$entry"
if ! find_default; then
test -e "${BASEROCK_BASE}/$entry/default" && add_conf_line "aliases=default"
fi
@@ -62,11 +62,11 @@ find_configs () {
}
find_used_configs () {
- grep "^script-config" "${SCHROOT_CONF}" | grep baserock | sed -e's@script-config *= *@@'
+ grep "^profile" "${SCHROOT_CONF}" | grep baserock | sed -e's at profile *= *@@'
}
is_config_used () {
- grep "script-config *= *" "${SCHROOT_CONF}" | grep -q -F "$1/config"
+ grep "profile *= *" "${SCHROOT_CONF}" | grep -q -F "$1"
}
add_new_configs () {