Ubuntu Pastebin

Paste from smoser at Fri, 17 Feb 2017 19:22:10 +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
needs:
 - warnings (including delay) turned off by user-data
 - warnings (including delay) turned off by system config
 - non-strict ec2
 - report only

cat /etc/cloud/cloud.cfg.d/ds.cfg
 #cloud-config
 datasource:
   Ec2:
     strict_id: false
     strict_id: warn[,0]  # warn, and sleep time.
     strict_id: true

# datasource/Ec2/strict_id value is read to determine what to do.
# order of precedence is:
#  1. cloud-init/ds-identify builtin
#  2. ds-identify config
#  3. kernel command line (undocumented)
#  4. system config (/etc/cloud/cloud.cfg.d/99Ec2.cfg)
#  5. user-data or vendor-data
#
#  ds-identify:
#   * can only read inputs 1-5 (not able to read from user-data/vendor-data)
#     thus user-data and vendor-data cannot change 'false' to 'true'
#   * if value is warn or false, then the Ec2 search will return MAYBE
#     instead of NOT_FOUND.
#
#  cloud-init:
#   * 'activate' of the ec2 datasource can consult all above. If the 
#     final value is 'false', or 'warn', and the datasource is used.
#     then a warning will be issued and optionally a sleep done.
#
#  zesty: ds-identify builtin set to 'true'
#  yakkety: ds-identify config set to 'warn[,0]'
#  ubuntu-core: ds-identify config set to true
#
#
# Warning message:
# *********************************************************************
# This system is using the EC2 Metadata Service, but does not appear to
# be running on Amazon EC2.  In the future, cloud-init may stop reading
# metadata from the EC2 Metadata Service unless the platform can be
# identified.
#
# If you are seeing this message, please file a bug against cloud-init
# at https://bugs.launchpad.net/cloud-init/+filebug .  Make sure to
# include the cloud provider your instance is running on.
#
# For more information see
#   https://bugs.launchpad.net/cloud-init/+bug/1660385
# 
# After you have filed a bug, you can disable this warning by launching
# your instance with the cloud-config below, or putting that content
# into /etc/cloud/cloud.cfg.d/99-ec2-datasource.cfg
# 
# #cloud-config
# datasource:
#  Ec2:
#   strict_id: false
#
************************************************************************
Download as text