diff options
author | Chad Smith <chad.smith@canonical.com> | 2018-04-03 17:01:38 -0600 |
---|---|---|
committer | Chad Smith <chad.smith@canonical.com> | 2018-04-03 17:01:38 -0600 |
commit | 2901835b6ab89f553ce4c3bb22451fad5f3a4f68 (patch) | |
tree | 444f44ab4dece9b8daba3feff89204547c22fab8 /doc | |
parent | 710dbc8293706ab004326ce9b882bceb6e8cca93 (diff) | |
parent | 05926e48eae0fa70a26da6449617e04e87c4e704 (diff) | |
download | vyos-cloud-init-2901835b6ab89f553ce4c3bb22451fad5f3a4f68.tar.gz vyos-cloud-init-2901835b6ab89f553ce4c3bb22451fad5f3a4f68.zip |
merge from master at 18.2-4-g05926e48
Diffstat (limited to 'doc')
-rw-r--r-- | doc/examples/cloud-config-user-groups.txt | 24 | ||||
-rw-r--r-- | doc/rtd/topics/datasources/openstack.rst | 4 |
2 files changed, 14 insertions, 14 deletions
diff --git a/doc/examples/cloud-config-user-groups.txt b/doc/examples/cloud-config-user-groups.txt index 0554d1f7..7bca24a3 100644 --- a/doc/examples/cloud-config-user-groups.txt +++ b/doc/examples/cloud-config-user-groups.txt @@ -10,20 +10,20 @@ users: - default - name: foobar gecos: Foo B. Bar - primary-group: foobar + primary_group: foobar groups: users - selinux-user: staff_u + selinux_user: staff_u expiredate: 2012-09-01 - ssh-import-id: foobar + ssh_import_id: foobar lock_passwd: false passwd: $6$j212wezy$7H/1LT4f9/N3wpgNunhsIqtMj62OKiS3nyNwuizouQc3u7MbYCarYeAHWYPYb2FT.lbioDm2RrkJPb9BZMN1O/ - name: barfoo gecos: Bar B. Foo sudo: ALL=(ALL) NOPASSWD:ALL groups: users, admin - ssh-import-id: None + ssh_import_id: None lock_passwd: true - ssh-authorized-keys: + ssh_authorized_keys: - <ssh pub key 1> - <ssh pub key 2> - name: cloudy @@ -37,10 +37,10 @@ users: # gecos: The user name's real name, i.e. "Bob B. Smith" # homedir: Optional. Set to the local path you want to use. Defaults to # /home/<username> -# primary-group: define the primary group. Defaults to a new group created +# primary_group: define the primary group. Defaults to a new group created # named after the user. # groups: Optional. Additional groups to add the user to. Defaults to none -# selinux-user: Optional. The SELinux user for the user's login, such as +# selinux_user: Optional. The SELinux user for the user's login, such as # "staff_u". When this is omitted the system will select the default # SELinux user. # lock_passwd: Defaults to true. Lock the password to disable password login @@ -66,11 +66,11 @@ users: # should use SSH authentication only. # # You have thus been warned. -# no-create-home: When set to true, do not create home directory. -# no-user-group: When set to true, do not create a group named after the user. -# no-log-init: When set to true, do not initialize lastlog and faillog database. -# ssh-import-id: Optional. Import SSH ids -# ssh-authorized-keys: Optional. [list] Add keys to user's authorized keys file +# no_create_home: When set to true, do not create home directory. +# no_user_group: When set to true, do not create a group named after the user. +# no_log_init: When set to true, do not initialize lastlog and faillog database. +# ssh_import_id: Optional. Import SSH ids +# ssh_authorized_keys: Optional. [list] Add keys to user's authorized keys file # sudo: Defaults to none. Set to the sudo string you want to use, i.e. # ALL=(ALL) NOPASSWD:ALL. To add multiple rules, use the following # format. diff --git a/doc/rtd/topics/datasources/openstack.rst b/doc/rtd/topics/datasources/openstack.rst index 607b70f3..43592dec 100644 --- a/doc/rtd/topics/datasources/openstack.rst +++ b/doc/rtd/topics/datasources/openstack.rst @@ -5,7 +5,7 @@ OpenStack This datasource supports reading data from the `OpenStack Metadata Service -<http://docs.openstack.org/admin-guide/compute-networking-nova.html#metadata-service>`_. +<https://docs.openstack.org/nova/latest/admin/networking-nova.html#metadata-service>`_. Configuration ------------- @@ -59,6 +59,6 @@ upgrade packages and install ``htop`` on all instances: {"cloud-init": "#cloud-config\npackage_upgrade: True\npackages:\n - htop"} For more general information about how cloud-init handles vendor data, -including how it can be disabled by users on instances, see `Vendor Data`_. +including how it can be disabled by users on instances, see :doc:`/topics/vendordata`. .. vi: textwidth=78 |