[KARAF-2992] Generate the shutdown command at first boot