-
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.
Emulate blades using docker containers
Fix #37 Each blade is emulated with an ubnutu 14.04 container running an SSH server. This give the ability to test some networking features like IP address resolution and the command API (through SSH)
- Loading branch information
1 parent
3aa8f68
commit 260e708
Showing
4 changed files
with
92 additions
and
0 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
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,12 @@ | ||
FROM ubuntu:14.04 | ||
|
||
RUN set -ex && \ | ||
apt-get update && \ | ||
apt-get install -y --force-yes openssh-server | ||
|
||
RUN mkdir /root/.ssh | ||
|
||
ADD keys/blade.pub /root/.ssh/authorized_keys | ||
|
||
RUN mkdir /var/run/sshd | ||
CMD ["/usr/sbin/sshd", "-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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
-----BEGIN RSA PRIVATE KEY----- | ||
MIIEowIBAAKCAQEAnMTI+fXVH1XvSa6nLGzYaRfmwpiSrXbs4KT6mLhxpjLDX00t | ||
OGeMKGN9R9mG/yVPE228BrH48TXRHyaQzK7rylp8fD0o+unt6x/o8Kcgo4RWYRwR | ||
RrZSUgUBNv0heE7Zxg+rE5gib17eIKjWBQ4YWFOBnANHP7QJonr5l8ECZvwkPYze | ||
Sax0M5u1fz/8c5vcFx9m1vw+vxkw7Oq7nV7hvNFViDJl5/9oInYs14axZFJPwZbw | ||
cwQGjoBQLEVCk0u178NxviDSWsHC81jC5rHxber2w7iVFGKHqkjBrE9A3H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rOnx3TepGf86lF9yfkBsoN | ||
TnfnWV/osARUauLARlAf4UFOIus18SIEVyoUXxOdIu/LCBrXCpKsHQvu4tYX2lM9 | ||
hTgDyQKBgCZpyzw8RgV91rp51omc75TMJgHtrKD/q43zNx1hwYaQJx1do1tpKvPN | ||
yJ6ZDGPEFOK+7BuAMdI5ZjYSci6N88fKEnuo495FGn8GuMrlUOn15X4O6OTEMrGn | ||
YNarqP2+UXX50/GvsQB2nvrUfBAvRyrto5el00dBlurtiFBs9Hjs | ||
-----END RSA PRIVATE KEY----- |
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 @@ | ||
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCcxMj59dUfVe9JrqcsbNhpF+bCmJKtduzgpPqYuHGmMsNfTS04Z4woY31H2Yb/JU8TbbwGsfjxNdEfJpDMruvKWnx8PSj66e3rH+jwpyCjhFZhHBFGtlJSBQE2/SF4TtnGD6sTmCJvXt4gqNYFDhhYU4GcA0c/tAmievmXwQJm/CQ9jN5JrHQzm7V/P/xzm9wXH2bW/D6/GTDs6rudXuG80VWIMmXn/2gidizXhrFkUk/BlvBzBAaOgFAsRUKTS7Xvw3G+INJawcLzWMLmsfFt6vbDuJUUYoeqSMGsT0DcdfEBiKBJgueZh9f35p8SaIKjs95W8ZdaguujHWrFXrWT vagrant@vagrant-ubuntu-trusty-64 |