djflux / meza

Setup an enterprise MediaWiki server with simple commands
MIT License
0 stars 0 forks source link

TypeError: write() argument must be str, not bytes from meza #4

Closed djflux closed 2 years ago

djflux commented 2 years ago

This error causes meza to stop whenever there is a warning issued by ansible:

TypeError: write() argument must be str, not bytes

Issues #2 and #3 are a result. Those ansible warnings still should be fixed if possible.

djflux commented 2 years ago

Fixed. Commit 336c3c9 in trhel8-35.x can be used to install a Demo Wiki from scratch on Rocky Linux 8.6.

Kickstart file used

lang en_US
keyboard us
timezone America/Chicago --isUtc
rootpw INSERT_YOUR_CRYPTED_PASSWORD_HERE --iscrypted
#platform x86_64
reboot
text
url --url=https://ord.mirror.rackspace.com/rocky/8/BaseOS/x86_64/os
bootloader --append="rhgb quiet crashkernel=auto"
zerombr
clearpart --all --initlabel
autopart
auth --passalgo=sha512 --useshadow
selinux --enforcing
firewall --enabled --http --ssh
skipx
firstboot --disable
%packages
@^minimal-environment
@network-tools
git
vim-enhanced
net-tools
%end

%post --nochroot --log=/mnt/sysimage/var/log/ks-post.log
cat >> /mnt/sysimage/etc/profile.d/fluxstuff.sh << EOF
alias dir='ls --color -la | more'
alias vi=vim

export PS1="[\u@\h \w]\\\\$ "
EOF
%end