From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-03-ewr.dyndns.com (mxout-083-ewr.mailhop.org [216.146.33.83]) by lists.bufferbloat.net (Postfix) with ESMTP id 6004C2E04AE for ; Mon, 18 Apr 2011 13:09:28 -0700 (PDT) Received: from scan-02-ewr.mailhop.org (scan-02-ewr.local [10.0.141.224]) by mail-03-ewr.dyndns.com (Postfix) with ESMTP id 9E3BC78BFCE for ; Mon, 18 Apr 2011 20:09:27 +0000 (UTC) X-Spam-Score: 0.0 () X-Mail-Handler: MailHop by DynDNS X-Originating-IP: 130.207.160.71 Received: from deliverator6.gatech.edu (deliverator6.gatech.edu [130.207.160.71]) by mail-03-ewr.dyndns.com (Postfix) with ESMTP id 9E73678C083 for ; Mon, 18 Apr 2011 20:09:25 +0000 (UTC) Received: from deliverator6.gatech.edu (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 1D0FC20C44D for ; Mon, 18 Apr 2011 16:09:25 -0400 (EDT) Received: from mail5.gatech.edu (mail5.gatech.edu [130.207.185.165]) by deliverator6.gatech.edu (Postfix) with ESMTP id BF46520C13A for ; Mon, 18 Apr 2011 16:09:24 -0400 (EDT) Received: from lawn-128-61-115-128.lawn.gatech.edu (lawn-128-61-115-128.lawn.gatech.edu [128.61.115.128]) (Authenticated sender: ssundaresan3) by mail5.gatech.edu (Postfix) with ESMTPSA id AB3221FFBB for ; Mon, 18 Apr 2011 16:09:24 -0400 (EDT) From: Srikanth Sundaresan Content-Type: multipart/mixed; boundary=Apple-Mail-1-580133373 Date: Mon, 18 Apr 2011 16:09:24 -0400 Message-Id: <6B84F40B-DC94-4711-B414-6AA908BADB7D@gatech.edu> To: bismark-devel@lists.bufferbloat.net Mime-Version: 1.0 (Apple Message framework v1082) X-Mailer: Apple Mail (2.1082) Subject: [Bismark-devel] bismark-mgmt and bootstrapping on firstboot X-BeenThere: bismark-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: BISMark related software development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Apr 2011 20:09:28 -0000 --Apple-Mail-1-580133373 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii 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 --Apple-Mail-1-580133373 Content-Disposition: attachment; filename=post-install.sh Content-Type: application/octet-stream; x-unix-mode=0644; name="post-install.sh" Content-Transfer-Encoding: 7bit #!/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 --Apple-Mail-1-580133373--