Skip to content

Commit 5f3e57e

Browse files
committed
Allow cloud init to domtrans into ssh keygen (bsc#1249964)
Ohterwise creating ssh keys via cloud init will result in type etc_t for the key files
1 parent 1177a32 commit 5f3e57e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

policy/modules/contrib/cloudform.te

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,9 @@ optional_policy(`
159159
')
160160

161161
optional_policy(`
162-
ssh_exec_keygen(cloud_init_t)
163162
ssh_read_user_home_files(cloud_init_t)
163+
ssh_domtrans_keygen(cloud_init_t)
164+
164165
')
165166

166167
optional_policy(`

0 commit comments

Comments
 (0)