Output cloud init messages to user
Co-authored-by: Jeff Bonhag <jbonhag@hashicorp.com>
This commit is contained in:
parent
db57af5bca
commit
b41db6bebe
@ -12,7 +12,7 @@ module Vagrant
|
||||
machine = env[:machine]
|
||||
if !machine.config.vm.cloud_init_configs.empty?
|
||||
if machine.communicate.test("command -v cloud-init")
|
||||
@logger.info("Waiting for cloud init")
|
||||
env[:ui].output(I18n.t("vagrant.cloud_init_waiting"))
|
||||
machine.communicate.sudo("cloud-init status --wait")
|
||||
else
|
||||
raise Vagrant::Errors::CloudInitNotFound, guest_name: machine.name
|
||||
|
||||
@ -127,6 +127,7 @@ en:
|
||||
Warning: Chef run list is empty. This may not be what you want.
|
||||
cli_interrupt: |-
|
||||
Exiting due to interrupt.
|
||||
cloud_init_waiting: Waiting for cloud init to finish running
|
||||
container_pulling_single: |-
|
||||
-- Image: %{name}
|
||||
container_building_single: |-
|
||||
@ -2383,7 +2384,7 @@ en:
|
||||
failure: |-
|
||||
Failed to create lock-file for master VM creation for box %{box}.
|
||||
cloud_init_user_data_setup: |-
|
||||
Preparing cloud_init iso based on :user_data configuration...
|
||||
Preparing user data for cloud-init...
|
||||
customize:
|
||||
failure: |-
|
||||
A customization command failed:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user