Skip to content
This repository has been archived by the owner on Feb 27, 2018. It is now read-only.

Make start.sh start a shell instead of sshing VM #88

Merged
merged 1 commit into from
Mar 24, 2015
Merged

Make start.sh start a shell instead of sshing VM #88

merged 1 commit into from
Mar 24, 2015

Conversation

ahmetb
Copy link
Contributor

@ahmetb ahmetb commented Mar 24, 2015

This change makes start.sh eval output of shellinit cmd and then start a
bash login shell (still can't find out a good way to override git's MOTD
without losing it, so no change there).

With this change clicking on "Boot2Docker Start" shortcut does the following:

(last cmd failing because we use b2d 1.5.0 iso)

Signed-off-by: Ahmet Alp Balkan ahmetalpbalkan@gmail.com
cc: @tianon @SvenDowideit

echo
PWD=$HOME /bin/bash --login -i # start a shell at home

echo
echo '[Press any key to exit]'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure if we should keep this and read below... exiting from /bin/bash could just close the cmd.exe window @tianon ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, let's just remove these now. 👍

This change makes start.sh eval output of shellinit cmd and then start a
bash login shell (still can't find out a good way to override git's MOTD
without losing it, so no change there).

Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
@tianon
Copy link
Contributor

tianon commented Mar 24, 2015

LGTM

tianon added a commit that referenced this pull request Mar 24, 2015
Make start.sh start a shell instead of sshing VM
@tianon tianon merged commit 5b28e88 into boot2docker:master Mar 24, 2015
@ahmetb ahmetb deleted the start-script-fix branch March 24, 2015 21:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants