From f19e3a5b3829f8395439ad4de728d1ab992b4a5e Mon Sep 17 00:00:00 2001 From: niusmallnan Date: Sun, 30 Sep 2018 17:36:42 +0800 Subject: [PATCH] Revert commit 9bcab2f663929ef5dda6055c86aaca187d4c0b55 Cloud-init needs to read datasources data after mount-state,so mount-state needs to be executed first. We must fix the 'udevsettle' issue on hyper-v later. --- cmd/init/init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/init/init.go b/cmd/init/init.go index fb018e66..2ca87f91 100644 --- a/cmd/init/init.go +++ b/cmd/init/init.go @@ -52,9 +52,9 @@ func RunInit() error { {"debug save cfg", debug.PrintAndLoadConfig}, {"load modules", modules.LoadModules}, {"recovery console", recovery.LoadRecoveryConsole}, - {"cloud-init", cloudinit.CloudInit}, {"b2d env", b2d.B2D}, {"mount STATE and bootstrap", fsmount.MountStateAndBootstrap}, + {"cloud-init", cloudinit.CloudInit}, {"read cfg and log files", configfiles.ReadConfigFiles}, {"switchroot", switchroot.SwitchRoot}, {"mount OEM2", fsmount.MountOem},