Last active
August 29, 2015 14:08
-
-
Save calum-github/69c6769966fda8cdabe3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## Steps to get the container to work | |
| # first clone down the source | |
| git clone https://bitbucket.org/bruienne/bsdpy | |
| # move into the docker directory and set the +x on start.sh | |
| chmod +x start.sh | |
| # Edit the docker file and add the following | |
| ENV DOCKER_BSDPY_PATH /nbi | |
| # now edit start | |
| nano start.sh | |
| # edit the content as shown below, note that we are stopping the git pull, as it fails due to being behind a proxy server and not having | |
| # the git global config proxy server | |
| #!/bin/bash | |
| # /usr/local/bin/nfs-client | |
| sleep 2 | |
| service nginx start | |
| /usr/sbin/in.tftpd -l --permissive /nbi | |
| cd /bsdpy | |
| #git pull | |
| ./bsdpserver.py -p ${DOCKER_BSDPY_PATH} -i ${DOCKER_BSDPY_IFACE} -r ${DOCKER_BSDPY_PROTO} & | |
| sleep 2 | |
| tail -f /var/log/bsdpserver.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment