use default /tmp
Move configuration to within chroot.

Also fixes writing sysctl conf to incorrect location.
use long opts if available for better readability