Ubuntu Pastebin

Paste from smoser at Fri, 17 Feb 2017 22:12:42 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
I added a 'showtime' and littered ds-identify with it.
showtime() {
    local r=$?
    read_uptime
    debug 1 "[up ${_RET}s]" "$@" "[$r]"
    return $r
}

 full thing at http://paste.ubuntu.com/24016234/

Doing math with the floating point in shell is a pain, so
you have to do it yourself.

$ cat /run/cloud-init/ds-identify.log 
[up 9.35s] ds-identify 
[up 9.36s] done read_virt [0]
[up 9.45s] done read_pid1_platform [0]
[up 9.45s] done read_kernel_cmdline [0]
[up 9.53s] done read_uname_info [0]
policy loaded: mode=search report=false found=all maybe=all notfound=disabled
[up 9.53s] done read_config [0]
/etc/cloud/cloud.cfg.d/90_dpkg.cfg set datasource_list: [ NoCloud, ConfigDrive, OpenNebula, DigitalOcean, Azure, AltCloud, OVF, MAAS, GCE, OpenStack, CloudSigma, SmartOS, Ec2, CloudStack, None ]
[up 9.63s] done read_datasource_list [0]
[up 9.63s] done read_dmi_sys_vendor [0]
[up 9.63s] done read_dmi_product_name [0]
[up 9.63s] done read_dmi_product_serial [0]
[up 9.63s] done read_dmi_product_uuid [0]
[up 10.04s] done read_fs_labels [0]
[up 10.04s] start printinfo [1]
DMI_PRODUCT_NAME=OpenStack Nova
DMI_SYS_VENDOR=OpenStack Foundation
DMI_PRODUCT_SERIAL=8dfedd6e-f385-48bb-9715-9016040e667a
DMI_PRODUCT_UUID=27E018DE-68AB-437D-9CAB-C6AB8B81BC21
PID_1_PLATFORM=unavailable
FS_LABELS=cloudimg-rootfs,UEFI,ephemeral0
KERNEL_CMDLINE=BOOT_IMAGE=/boot/vmlinuz-4.9.0-15-generic root=LABEL=cloudimg-rootfs console=ttyS0
VIRT=kvm
UNAME_KERNEL_NAME=Linux
UNAME_KERNEL_RELEASE=4.9.0-15-generic
UNAME_KERNEL_VERSION=#16-Ubuntu SMP Fri Jan 20 15:31:12 UTC 2017
UNAME_MACHINE=x86_64
UNAME_NODENAME=zesty-20170217-213758
UNAME_OPERATING_SYSTEM=GNU/Linux
DSNAME=
DSLIST=NoCloud ConfigDrive OpenNebula DigitalOcean Azure AltCloud OVF MAAS GCE OpenStack CloudSigma SmartOS Ec2 CloudStack None
MODE=search
REPORT=false
ON_FOUND=all
ON_MAYBE=all
ON_NOTFOUND=disabled
pid=389 ppid=373
is_container=false
[up 10.04s] end printinfo [0]
[up 10.27s] done checking manual_clean_and_existing [0]
[up 10.27s] done check for single [0]
[up 10.29s] done dscheck_NoCloud [1]
[up 10.29s] done dscheck_ConfigDrive [1]
[up 10.29s] done dscheck_OpenNebula [1]
[up 10.29s] done dscheck_DigitalOcean [1]
[up 10.29s] done dscheck_Azure [1]
[up 10.29s] done dscheck_AltCloud [1]
[up 10.29s] done dscheck_OVF [1]
[up 10.29s] done dscheck_MAAS [1]
[up 10.29s] done dscheck_GCE [1]
[up 10.29s] done dscheck_OpenStack [0]
check for 'OpenStack' returned found
[up 10.29s] done dscheck_CloudSigma [1]
[up 10.29s] done dscheck_SmartOS [1]
[up 10.29s] done dscheck_Ec2 [1]
[up 10.29s] done dscheck_CloudStack [1]
[up 10.29s] done dscheck_None [1]
[up 10.29s] done searching [0]
Found single datasource: OpenStack
[up 10.29s] returning 0
Download as text