File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
server : server.tf.local
2
2
max_cache_size_mb : 20000
3
- system_id : 100001000
3
+ binary_system_id : " "
4
4
5
5
binary_ca_certs : " "
6
6
binary_server_crt : " "
Original file line number Diff line number Diff line change 13
13
14
14
# Save the systemid file
15
15
with open ("/etc/sysconfig/rhn/systemid" , "w" ) as file :
16
- file .write (str (config ['system_id' ] ))
16
+ file .write (base64 . b64decode (config ['binary_system_id' ]). decode ( ))
17
17
18
18
# Decode and install SSL CA certificate
19
19
with open ("/etc/pki/trust/anchors/RHN-ORG-TRUSTED-SSL-CERT" , "w" ) as file :
71
71
os .system ('chmod -R 755 /srv/www/htdocs/pub' )
72
72
os .system ('chown -R wwwrun:www /var/spool/rhn-proxy' )
73
73
os .system ('chmod -R 750 /var/spool/rhn-proxy' )
74
-
74
+ os . system ( 'chown -R wwwrun:root /var/cache/rhn/proxy-auth' )
You can’t perform that action at this time.
0 commit comments