-
-
Save maximeg/8b24cc7a917440469ba2 to your computer and use it in GitHub Desktop.
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
net.ipv4.ip_forward = 1 | |
sysctl: cannot stat /proc/sys/net/ipv6/conf/all/forwarding: No such file or directory | |
sysctl: setting key "cannot stat %s": No such file or directory | |
sysctl: "cannot stat %s" is an unknown key | |
sysctl: setting key "cannot stat %s": No such file or directory | |
Segmentation fault | |
automount ... | |
Is the disk unpartitioned?, test for the 'boot2docker format-me' string | |
NEW boot2docker managed disk image (/dev/sda): formatting it for use | |
Device contains neither a valid DOS partition table, nor Sun, SGI, OSF or GPT disklabel | |
Building a new DOS disklabel. Changes will remain in memory only, | |
until you decide to write them. After that the previous content | |
won't be recoverable. | |
The number of cylinders for this disk is set to 2549. | |
There is nothing wrong with that, but this is larger than 1024, | |
and could in certain setups cause problems with: | |
1) software that runs at boot time (e.g., old versions of LILO) | |
2) booting and partitioning software from other OSs | |
(e.g., DOS FDISK, OS/2 FDISK) | |
Command (m for help): Command action | |
e extended | |
p primary partition (1-4) | |
Partition number (1-4): First cylinder (1-2549, default 1): Using default value 1 | |
Last cylinder or +size or +sizeM or +sizeK (1-2549, default 2549): | |
Command (m for help): The partition table has been altered. | |
Calling ioctl() to re-read partition table | |
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only. | |
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only. | |
Error: Invalid partition table - recursive partition on /dev/sr0. | |
The number of cylinders for this disk is set to 2549. | |
There is nothing wrong with that, but this is larger than 1024, | |
and could in certain setups cause problems with: | |
1) software that runs at boot time (e.g., old versions of LILO) | |
2) booting and partitioning software from other OSs | |
(e.g., DOS FDISK, OS/2 FDISK) | |
Command (m for help): Selected partition 2 | |
Hex code (type L to list codes): Changed system type of partition 2 to 82 (Linux swap) | |
Command (m for help): The partition table has been altered. | |
Calling ioctl() to re-read partition table | |
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only. | |
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only. | |
Error: Invalid partition table - recursive partition on /dev/sr0. | |
Setting up swapspace version 1, size = 1011673088 bytes | |
UUID=a850ff2d-631b-425a-b856-574a95483607 | |
The number of cylinders for this disk is set to 2549. | |
There is nothing wrong with that, but this is larger than 1024, | |
and could in certain setups cause problems with: | |
1) software that runs at boot time (e.g., old versions of LILO) | |
2) booting and partitioning software from other OSs | |
(e.g., DOS FDISK, OS/2 FDISK) | |
Command (m for help): Command action | |
e extended | |
p primary partition (1-4) | |
Partition number (1-4): First cylinder (124-2549, default 124): Using default value 124 | |
Last cylinder or +size or +sizeM or +sizeK (124-2549, default 2549): Using default value 2549 | |
Command (m for help): The partition table has been altered. | |
Calling ioctl() to re-read partition table | |
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only. | |
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only. | |
Error: Invalid partition table - recursive partition on /dev/sr0. | |
mke2fs 1.42.12 (29-Aug-2014) | |
The file /dev/sda1 does not exist and no size was specified. | |
/dev/sda1 | |
mount p:sda1 ... | |
umount: can't forcibly umount /mnt/sda1: Invalid argument | |
mount: mounting /dev/sda1 on /mnt/sda1 failed: No such file or directory | |
umount: can't forcibly umount /var/lib/docker: No such file or directory | |
total 0 | |
drwxrwxrwt 4 root staff 120 Aug 15 10:09 tmp | |
drwxr-xr-x 3 root root 60 Aug 15 10:09 var | |
automount over. | |
Sat Aug 15 10:09:09 UTC 2015 dhcp ------------------------------- | |
Sat Aug 15 10:09:11 UTC 2015 dhcp ------------------------------- | |
installing *.pem | |
Setting hostname to boot2docker Done. | |
mv: can't rename '/usr/local/etc/ssh/ssh_config.example': No such file or directory | |
mv: can't rename '/usr/local/etc/ssh/sshd_config.example': No such file or directory | |
grep: /usr/local/etc/ssh/sshd_config: No such file or directory | |
Generating public/private rsa key pair. | |
Your identification has been saved in /usr/local/etc/ssh/ssh_host_rsa_key. | |
Your public key has been saved in /usr/local/etc/ssh/ssh_host_rsa_key.pub. | |
The key fingerprint is: | |
80:bc:75:b4:7e:a0:d2:2e:ae:ab:3a:f8:a3:c7:19:eb root@boot2docker | |
The key's randomart image is: | |
+--[ RSA 2048]----+ | |
| . | | |
| . . . . | | |
| o o + | | |
| + = . | | |
| o o S . | | |
| . o . | | |
|.. +. . | | |
|o *. . | | |
|=BE+. | | |
+-----------------+ | |
Generating public/private dsa key pair. | |
Your identification has been saved in /usr/local/etc/ssh/ssh_host_dsa_key. | |
Your public key has been saved in /usr/local/etc/ssh/ssh_host_dsa_key.pub. | |
The key fingerprint is: | |
7c:ae:7d:a0:92:ab:87:08:18:02:85:4f:be:99:3f:39 root@boot2docker | |
The key's randomart image is: | |
+--[ DSA 1024]----+ | |
| o. | | |
|o . | | |
|.+ | | |
|o o . | | |
|o. + S . | | |
|o + o. | | |
| . o o . ... | | |
| . E + .o . | | |
| .=.o. .. | | |
+-----------------+ | |
Generating public/private ecdsa key pair. | |
Your identification has been saved in /usr/local/etc/ssh/ssh_host_ecdsa_key. | |
Your public key has been saved in /usr/local/etc/ssh/ssh_host_ecdsa_key.pub. | |
The key fingerprint is: | |
5a:d1:8a:fa:e9:77:39:c8:09:b0:a3:28:df:9b:bf:0b root@boot2docker | |
The key's randomart image is: | |
+--[ECDSA 256]---+ | |
| | | |
| . | | |
| . . | | |
| . . o | | |
| o. S | | |
| o..o | | |
| . .E..o o . | | |
|o .. + .= + | | |
|... ++B+ . . | | |
+-----------------+ | |
------------------- | |
Sat Aug 15 10:09:11 UTC 2015 | |
Sat Aug 15 10:09:16 UTC 2015 | |
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default | |
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 | |
inet 127.0.0.1/8 scope host lo | |
valid_lft forever preferred_lft forever | |
inet6 ::1/128 scope host | |
valid_lft forever preferred_lft forever | |
2: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default | |
link/ether ce:a4:ce:2d:b5:46 brd ff:ff:ff:ff:ff:ff | |
3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 | |
link/ether 08:00:27:76:db:6c brd ff:ff:ff:ff:ff:ff | |
inet 10.0.2.15/24 brd 10.0.2.255 scope global eth0 | |
valid_lft forever preferred_lft forever | |
inet6 fe80::a00:27ff:fe76:db6c/64 scope link | |
valid_lft forever preferred_lft forever | |
4: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 | |
link/ether 08:00:27:6f:e5:97 brd ff:ff:ff:ff:ff:ff | |
inet 192.168.99.101/24 brd 192.168.99.255 scope global eth1 | |
valid_lft forever preferred_lft forever | |
inet6 fe80::a00:27ff:fe6f:e597/64 scope link | |
valid_lft forever preferred_lft forever | |
------------------- | |
Need TLS certs for boot2docker,127.0.0.1,10.0.2.15,192.168.99.101 | |
------------------- | |
Generating CA cert | |
2015/08/15 10:09:16 Generating a new certificate authority. | |
rm: can't remove '/var/lib/boot2docker/tls/server.pem': No such file or directory | |
rm: can't remove '/var/lib/boot2docker/tls/serverkey.pem': No such file or directory | |
rm: can't remove '/var/lib/boot2docker/tls/cert.pem': No such file or directory | |
rm: can't remove '/var/lib/boot2docker/tls/key.pem': No such file or directory | |
rm: can't remove '/var/lib/boot2docker/tls//hostnames': No such file or directory | |
Generate server cert | |
/usr/local/bin/generate_cert --host=boot2docker,127.0.0.1,10.0.2.15,192.168.99.101 --ca=/var/lib/boot2docker/tls/ca.pem --ca-key=/var/lib/boot2docker/tls/cakey.pem --cert=/var/lib/boot2docker/tls/server.pem --key=/var/lib/boot2docker/tls/serverkey.pem --org=Boot2Docker | |
2015/08/15 10:09:19 Generating a server cert | |
Generating client cert | |
2015/08/15 10:09:20 no --host parameters, making a client cert |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment