From: Srikanth Sundaresan <srikanth@gatech.edu>
To: bismark-devel@lists.bufferbloat.net
Subject: [Bismark-devel] bismark-mgmt and bootstrapping on firstboot
Date: Mon, 18 Apr 2011 16:09:24 -0400 [thread overview]
Message-ID: <6B84F40B-DC94-4711-B414-6AA908BADB7D@gatech.edu> (raw)
[-- Attachment #1: Type: text/plain, Size: 633 bytes --]
The bismark-mgmt package requires the following scripts:
/usr/bin/bismark-action
/usr/bin/bismark-bootstrap
/usr/bin/bismark-probe
/usr/bin/bismark-rshell
/usr/bin/bismark-scp
It needs the following files:
/ etc/bismark/authorized_keys
/ etc/bismark/bismark.conf
/ etc/bismark/bismark_key
/ etc/bismark/bismark_key.pub
/etc/bismark/crontab
/etc/bismark/known_hosts
The following file needs to be executed on *firstboot*.
postinstall.sh (attached)
This package will allow us to have access to the boxes so that we can later push the bismark-active (and bismark-passive) measurement suites.
- Srikanth
[-- Attachment #2: post-install.sh --]
[-- Type: application/octet-stream, Size: 359 bytes --]
#!/bin/ash
# Bismark management post-install script
mkdir -p /root/.ssh
cat /etc/bismark/authorized_keys >> /etc/dropbear/authorized_keys
cat /etc/bismark/known_hosts >> /root/.ssh/known_hosts
# Set rc.local
grep -v exit /etc/rc.local > /tmp/rc.local
echo "bismark-bootstrap" >> /tmp/rc.local
echo "exit 0" >> /tmp/rc.local
mv /tmp/rc.local /etc/rc.local
next reply other threads:[~2011-04-18 20:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-18 20:09 Srikanth Sundaresan [this message]
2011-04-18 20:10 ` Srikanth Sundaresan
2011-04-18 20:19 ` Nick Feamster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6B84F40B-DC94-4711-B414-6AA908BADB7D@gatech.edu \
--to=srikanth@gatech.edu \
--cc=bismark-devel@lists.bufferbloat.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox