The one-liner reads your hostname and does the change accordingly so you don't need to do anything other than the one-liner...