Add environment support to netinstall