Browse Source

Use new repo

master
Mayank 4 years ago
parent
commit
6dc9012bb8
No known key found for this signature in database GPG Key ID: D037D60476CE748C
  1. 2
      README.md
  2. 2
      stage2/01-sys-tweaks/files/rc.local
  3. 4
      stage2/05-docker-compose/01-run.sh

2
README.md

@ -75,7 +75,7 @@ For building an API (or scripting), look in `/home/umbrel/statuses` for the foll
The above variables control whether or not the umbrelbox startup script is run (for SD Card safety). The above variables control whether or not the umbrelbox startup script is run (for SD Card safety).
If you want to overricde the checks, please delete ```service-configured``` file and add a ```disk-partitioned```, and then reinstall/configure [Umbrel Compose](https://github.com/getumbrel/umbrel-compose). Then run ```/etc/rc.local``` as root again (or restart your box) If you want to overricde the checks, please delete ```service-configured``` file and add a ```disk-partitioned```, and then reinstall/configure [Umbrel](https://github.com/getumbrel/umbrel). Then run ```/etc/rc.local``` as root again (or restart your box)
--- ---

2
stage2/01-sys-tweaks/files/rc.local

@ -69,7 +69,7 @@ if [ ! -f /home/umbrel/statuses/service-configured ]; then
/etc/init.d/umbrelbox start /etc/init.d/umbrelbox start
fi fi
else else
echo "Disk not partitioned, will not start umbrel-compose framework (Please do it manually)" echo "Disk not partitioned, will not start umbrel framework (Please do it manually)"
fi fi
fi fi

4
stage2/05-docker-compose/01-run.sh

@ -6,7 +6,7 @@ echo "Installing docker-compose from pip3, and also setting up the box folder st
on_chroot << EOF on_chroot << EOF
pip3 install docker-compose pip3 install docker-compose
cd /home/${FIRST_USER_NAME} cd /home/${FIRST_USER_NAME}
wget -qO- "https://raw.githubusercontent.com/getumbrel/umbrel-compose/master/install-box.sh" | sh wget -qO- "https://raw.githubusercontent.com/getumbrel/umbrel/master/install-box.sh" | sh
chown -R ${FIRST_USER_NAME}:${FIRST_USER_NAME} /home/${FIRST_USER_NAME} chown -R ${FIRST_USER_NAME}:${FIRST_USER_NAME} /home/${FIRST_USER_NAME}
EOF EOF
@ -31,7 +31,7 @@ cp files/compose-service ${ROOTFS_DIR}/etc/init.d/umbrelbox
echo "Pulling Docker images required to run Umbrel services" echo "Pulling Docker images required to run Umbrel services"
wget -q "https://raw.githubusercontent.com/getumbrel/umbrel-compose/master/docker-compose.yml" wget -q "https://raw.githubusercontent.com/getumbrel/umbrel/master/docker-compose.yml"
IMAGES=$(grep '^\s*image' docker-compose.yml | sed 's/image://' | sed 's/\"//g' | sed '/^$/d;s/[[:blank:]]//g' | sort | uniq) IMAGES=$(grep '^\s*image' docker-compose.yml | sed 's/image://' | sed 's/\"//g' | sed '/^$/d;s/[[:blank:]]//g' | sort | uniq)
echo "List of images to download: $IMAGES" echo "List of images to download: $IMAGES"

Loading…
Cancel
Save