Update instance.sh
This commit is contained in:
@@ -141,10 +141,7 @@ new_instance() {
|
|||||||
|
|
||||||
mkdir $OCTOCONFIG/$INSTANCE
|
mkdir $OCTOCONFIG/$INSTANCE
|
||||||
|
|
||||||
cat $SCRIPTDIR/docker-compose.yml | \
|
cat $SCRIPTDIR/docker-compose.yml | sed -e "s/NEWINSTANCE/$INSTANCE/" -e "s/CAMPORT/$CAMPORT/" -e "s/NEWPORT/$PORT/" > $OCTOCONFIG/$INSTANCE/docker-compose.yml
|
||||||
sed -e "s/NEWINSTANCE/$INSTANCE/" \
|
|
||||||
-e "s/CAMPORT/$CAMPORT/" > \
|
|
||||||
-e "s/NEWPORT/$PORT/" > $OCTOCONFIG/$INSTANCE/docker-compose.yml
|
|
||||||
|
|
||||||
#write phase
|
#write phase
|
||||||
if [ -n "$UDEV" ] || [ -n "$USB" ]; then
|
if [ -n "$UDEV" ] || [ -n "$USB" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user