Skip to content

Commit db3299a

Browse files
committed
doc: Add shouldExist for users and groups
This addition to the docs was missed in the original PR coreos#1014
1 parent 3430088 commit db3299a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/configuration-v3_2_experimental.md

+2
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,13 @@ The Ignition configuration is a JSON document conforming to the following specif
159159
* **_noUserGroup_** (boolean): whether or not to create a group with the same name as the user. This only has an effect if the account doesn't exist yet.
160160
* **_noLogInit_** (boolean): whether or not to add the user to the lastlog and faillog databases. This only has an effect if the account doesn't exist yet.
161161
* **_shell_** (string): the login shell of the new account.
162+
* **_shouldExist_** (boolean) whether or not the user with the specified `name` should exist. If omitted, it defaults to true. If false, then Ignition will delete the specified user.
162163
* **_system_** (bool): whether or not this account should be a system account. This only has an effect if the account doesn't exist yet.
163164
* **_groups_** (list of objects): the list of groups to be added. All groups must have a unique `name`.
164165
* **name** (string): the name of the group.
165166
* **_gid_** (integer): the group ID of the new group.
166167
* **_passwordHash_** (string): the encrypted password of the new group.
168+
* **_shouldExist_** (boolean) whether or not the group with the specified `name` should exist. If omitted, it defaults to true. If false, then Ignition will delete the specified group.
167169
* **_system_** (bool): whether or not the group should be a system group. This only has an effect if the group doesn't exist yet.
168170

169171
[part-types]: http://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_type_GUIDs

0 commit comments

Comments
 (0)