-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
BananaWanted
authored and
BananaWanted
committed
Nov 22, 2017
1 parent
2e2b663
commit 09914a2
Showing
14 changed files
with
88 additions
and
166 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
.DS_Store | ||
shared/* |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "solarized"] | ||
path = solarized | ||
url = [email protected]:altercation/solarized.git |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDWyZIejjXBX21Ujxq46X2OAU22wDNAUiVPAyNsiRWt/5J1klsLJui5b3Zpaxs+lSimWJCG0smi/BpytusR3fgagprRy4ymQRHWJLmcZJ1oo2D6PZ/HggXis0Tew8ERfnUgyNs/yzUteSrYXHzoyFFg76MZLwBz9J/q6zT43mtgXTjcfOFfKfHb4QgWpS63T3ExtnWw13W4kuXTElRwj0EF5DOyWqEe78VTuSDlxCQsVpfDdrOk4vk6iEH8qw4QaQphJwcjUpsUo+4IOIKghsEIZplJiCfkV9WInK+HqrX/a1vacrH9my/FsGk0Is9I1Oy0KYbL0IQ72EX6SQjWFxPV | ||
ssh-rsa AAAAB3NzaC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Js/7KxY/be1/ez3YkxFjvfjUdfiZAN12mrQ2L9KQN9VtTq4B8b7dSteM2LAVu/kRqK3aSBhy8rvmt3D/xQwtDT+/vufEexlcqQZdysexdS1wV58oVDTtTojHaNpymKVGDhHCnbL7LDfa966o5u/sh7ONvfbuNCHEsXNfECMc+chC9T9/fLb6iyNZpPT3s/gdePDhP2i0l8UyAFmc+yroUiXcqkq5JBCRJFDuQwLrO71tNn4fIl7m8gu/JciqI4JZOU4Uppj2t/WMHmk51llOX5x2bMqWFLPXefSNtuUNraBFEcYGEBG7w7zGiE8C9QOVxJCfC0K0CeXMDqMMiwTW7ujjQ== |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
docker-compose build --force-rm | ||
docker-compose up -d |
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )" | ||
PROMPT='%{$FG[088]%}[Dubuntu]%{$reset_color%} ${ret_status} %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)' | ||
PROMPT='%{$FG[012]%}[Dubuntu]%{$reset_color%}${ret_status} %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)' | ||
|
||
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}" | ||
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} " | ||
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗" | ||
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})" | ||
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})" |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,16 @@ | ||
#!/bin/bash | ||
|
||
mkdir /var/run/sshd | ||
/usr/bin/supervisord | ||
mkdir -p /shared | ||
|
||
if [ -f /shared/sources.list ]; then ln -sf /shared/sources.list /etc/apt/sources.list; fi | ||
if [ -f /shared/resolv.conf ]; then ln -sf /shared/resolv.conf /etc/resolv.conf; fi | ||
if [ -f /shared/authorized_keys ]; then | ||
mkdir -p /root/.ssh | ||
ln -sf /shared/authorized_keys /root/.ssh/authorized_keys | ||
chmod 644 /root/.ssh/authorized_keys | ||
fi | ||
if [ -f /shared/dircolors ]; then dircolors -b /shared/dircolors > /root/.dircolors_source; fi | ||
|
||
|
||
/usr/bin/supervisord |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
# Shared Content Directory | ||
|
||
This folder is shared among vms, and mounted at `/shared`. | ||
This folder is shared among vms, and mount at `/shared`. | ||
|
||
## Additional controls to the VM | ||
Put a file with specific name in this directory to override corresponding settings in VM. | ||
All file overriding is in symbol linking. | ||
|
||
Available config files: | ||
- `sources.list`: override `/etc/apt/sources.list` in VM. | ||
- `resolv.conf`: override `/etc/resolv.conf` in VM. | ||
- `authorized_keys`: override `/root/.ssh/authorized_keys` in VM. | ||
- `dircolors`: override color mapping of the inside console. | ||
- `profile`: addition `zsh` startup source script. |
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
docker-compose up -d |
This file contains 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