Fix readme
This commit is contained in:
parent
5e3a0c6e8d
commit
4fc3a074a0
|
@ -17,7 +17,7 @@ This script requires the latest version of vmdb2 which is not currently availabl
|
||||||
After installing the above, clone the vmdb2 repository and add it to your path.
|
After installing the above, clone the vmdb2 repository and add it to your path.
|
||||||
```shell
|
```shell
|
||||||
git clone https://gitlab.com/larswirzenius/vmdb2.git
|
git clone https://gitlab.com/larswirzenius/vmdb2.git
|
||||||
cd vmdb2; ln -s vmdb2 /usr/local/bin/vmdb2
|
cd vmdb2; ln -s ${PWD}/vmdb2 /usr/local/bin/vmdb2
|
||||||
```
|
```
|
||||||
|
|
||||||
## To Build A New Image
|
## To Build A New Image
|
||||||
|
|
4
build.sh
4
build.sh
|
@ -4,9 +4,9 @@ rm -f raspi_3.log
|
||||||
make raspi_3.img
|
make raspi_3.img
|
||||||
|
|
||||||
# copy to releases
|
# copy to releases
|
||||||
echo "++ successful image build, copying output to releases"
|
TODAY=$(date +"%Y%m%d")
|
||||||
TODAY=$(date +"%y%m%d")
|
|
||||||
RELEASE_DIR=/var/www/releases.peachcloud.org/html/peach-imgs/$TODAY
|
RELEASE_DIR=/var/www/releases.peachcloud.org/html/peach-imgs/$TODAY
|
||||||
|
echo "++ successful image build, copying output to ${RELEASE_DIR}"
|
||||||
mkdir -p $RELEASE_DIR
|
mkdir -p $RELEASE_DIR
|
||||||
cp raspi_3.img $RELEASE_DIR/${TODAY}_peach_raspi3.img
|
cp raspi_3.img $RELEASE_DIR/${TODAY}_peach_raspi3.img
|
||||||
cp raspi_3.log $RELEASE_DIR/${TODAY}_peach_raspi3.log
|
cp raspi_3.log $RELEASE_DIR/${TODAY}_peach_raspi3.log
|
Loading…
Reference in New Issue