Add vm control commands and get hostname