baseimage: use `sed -i -e ...` instead of `perl -pi -e ...` to edit config files

perl package is still installed (because git package depends on perl)
Merge pull request #6 from minimum2scp/feature/use-sed

baseimage: use `sed -i -e ...` instead of `perl -pi -e ...` to edit config files