Skip to content

Commit

Permalink
Add stop.sh to prepare and README
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardocopat committed Aug 6, 2020
1 parent 9967332 commit 32e1cd6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ In case you stopped your VM or rebooted your computer. Start again by:
- Run `cd /vagrant`.
- Run `./run.sh`.

## Stopping

- Run `./stop.sh`

## Credits

Based on Tobias Hofmann's [sap-nw-abap-docker](https://github.com/tobiashofmann/sap-nw-abap-docker).
3 changes: 3 additions & 0 deletions prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ chmod +rwx -R ./NW
chmod u+x ./run.sh
dos2unix ./run.sh

chmod u+x ./stop.sh
dos2unix ./stop.sh

#Set the hostname IP in /etc/hosts
cat /etc/hosts | sed "s/127.0.1.1/$(hostname -I|cut -d" " -f 1)/g" > /etc/hosts

Expand Down

0 comments on commit 32e1cd6

Please sign in to comment.