Don't use sudo for the bootstrap system, save that for the user init. Use sudo bash <(...) if necessary