Skip to content

Commit

Permalink
Adapt migration-volume-sd-sd-test to new config scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorz committed Sep 13, 2016
1 parent 3a300c3 commit 9dfc26a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/migration-volume-sd-sd-test
Expand Up @@ -16,7 +16,8 @@ scripts/cleanup

# create start script for second sd
/bin/cp -f bin/bareos-ctl-sd bin/bareos-ctl-sd2
/bin/sed 's/bareos-sd.conf/bareos-sd2.conf/g' < bin/bareos-ctl-sd > bin/bareos-ctl-sd2
#/bin/sed 's/bareos-sd.conf/bareos-sd2.conf/g' < bin/bareos-ctl-sd > bin/bareos-ctl-sd2
/bin/sed "s#BACSDCFG=.*#BACSDCFG=${cwd}/bin/bareos-sd2.conf#g" < bin/bareos-ctl-sd > bin/bareos-ctl-sd2

/bin/cp -f scripts/bareos-sd-migration-sd-sd1.conf bin/bareos-sd.conf
/bin/cp -f scripts/bareos-sd-migration-sd-sd2.conf bin/bareos-sd2.conf
Expand Down

0 comments on commit 9dfc26a

Please sign in to comment.