Set hostname on instance creation