Skip to content

Instantly share code, notes, and snippets.

/teleport.sh Secret

Created December 25, 2012 20:22
Show Gist options
  • Save anonymous/ad5a386c60c0b27abb3d to your computer and use it in GitHub Desktop.
Save anonymous/ad5a386c60c0b27abb3d to your computer and use it in GitHub Desktop.
$ teleport --infer
[20:20:50] Calculating apt sources and keys...
cat: /etc/apt/sources.list.d/*.list: No such file or directory
/usr/local/lib/ruby/gems/1.9.1/gems/teleport-1.0.11/lib/teleport/util.rb:72:in `run_capture': cat /etc/apt/sources.l
ist /etc/apt/sources.list.d/*.list failed : 1 "## Note, this file is written by cloud-init on first boot of an inst
ance\\n## modifications made here will not survive a re-bundle.\\n## if you wish to make changes you can:\\n## a.) a
dd 'apt_preserve_sources_list: true' to /etc/cloud/cloud.cfg\\n## or do the same in user-data\\n## b.) add sourc
es in /etc/apt/sources.list.d\\n## c.) make changes to template file /etc/cloud/templates/sources.list.tmpl\\n#\\n\\
n# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to\\n# newer versions of the distribution.\\
ndeb http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise main\\ndeb-src http://us-east-1.ec2.archive.ubuntu.com/
ubuntu/ precise main\\n\\n## Major bug fix updates produced after the final release of the\\n## distribution.\\ndeb
http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise-updates main\\ndeb-src http://us-east-1.ec2.archive.ubuntu.c
om/ubuntu/ precise-updates main\\n\\n## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu\\n#
# team. Also, please note that software in universe WILL NOT receive any\\n## review or updates from the Ubuntu secu
rity team.\\ndeb http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise universe\\ndeb-src http://us-east-1.ec2.arc
hive.ubuntu.com/ubuntu/ precise universe\\ndeb http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise-updates unive
rse\\ndeb-src http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise-updates universe\\n\\n## N.B. software from th
is repository is ENTIRELY UNSUPPORTED by the Ubuntu \\n## team, and may not be under a free licence. Please satisfy
yourself as to\\n## your rights to use the software. Also, please note that software in \\n## multiverse WILL NOT re
ceive any review or updates from the Ubuntu\\n## security team.\\n# deb http://us-east-1.ec2.archive.ubuntu.com/ubun
tu/ precise multiverse\\n# deb-src http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise multiverse\\n# deb http:/
/us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise-updates multiverse\\n# deb-src http://us-east-1.ec2.archive.ubuntu
.com/ubuntu/ precise-updates multiverse\\n\\n## Uncomment the following two lines to add software from the 'backport
s'\\n## repository.\\n## N.B. software from this repository may not have been tested as\\n## extensively as that con
tained in the main release, although it includes\\n## newer versions of some applications which may provide useful f
eatures.\\n## Also, please note that software in backports WILL NOT receive any review\\n## or updates from the Ubun
tu security team.\\n# deb http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe
multiverse\\n# deb-src http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe m
ultiverse\\n\\n## Uncomment the following two lines to add software from Canonical's\\n## 'partner' repository.\\n##
This software is not part of Ubuntu, but is offered by Canonical and the\\n## respective vendors as a service to Ub
untu users.\\n# deb http://archive.canonical.com/ubuntu precise partner\\n# deb-src http://archive.canonical.com/ubu
ntu precise partner\\n\\ndeb http://security.ubuntu.com/ubuntu precise-security main\\ndeb-src http://security.ubunt
u.com/ubuntu precise-security main\\ndeb http://security.ubuntu.com/ubuntu precise-security universe\\ndeb-src http:
//security.ubuntu.com/ubuntu precise-security universe\\n# deb http://security.ubuntu.com/ubuntu precise-security mu
ltiverse\\n# deb-src http://security.ubuntu.com/ubuntu precise-security multiverse\\n" (Teleport::Util::RunError)
from /usr/local/lib/ruby/gems/1.9.1/gems/teleport-1.0.11/lib/teleport/util.rb:81:in `run_capture_lines'
from /usr/local/lib/ruby/gems/1.9.1/gems/teleport-1.0.11/lib/teleport/infer.rb:148:in `apt'
from /usr/local/lib/ruby/gems/1.9.1/gems/teleport-1.0.11/lib/teleport/infer.rb:117:in `initialize'
from /usr/local/lib/ruby/gems/1.9.1/gems/teleport-1.0.11/lib/teleport/main.rb:161:in `new'
from /usr/local/lib/ruby/gems/1.9.1/gems/teleport-1.0.11/lib/teleport/main.rb:161:in `infer'
from /usr/local/lib/ruby/gems/1.9.1/gems/teleport-1.0.11/lib/teleport/main.rb:22:in `initialize'
from /usr/local/lib/ruby/gems/1.9.1/gems/teleport-1.0.11/bin/teleport:7:in `new'
from /usr/local/lib/ruby/gems/1.9.1/gems/teleport-1.0.11/bin/teleport:7:in `<top (required)>'
from /usr/local/bin/teleport:23:in `load'
from /usr/local/bin/teleport:23:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment