From 32479e445fa32e0b3a1c3d16933ebe29d7b4caa5 Mon Sep 17 00:00:00 2001 From: Alexander Pavel Date: Mon, 31 Jul 2017 16:52:10 -0700 Subject: [PATCH] config.rb: fix incorrect drive_root line A typo in the finalize method caused drive_root to not be set correctly when drive_root was not explicitly set. --- lib/vagrant-ignition/config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant-ignition/config.rb b/lib/vagrant-ignition/config.rb index 5ee378e..ddd8fe5 100644 --- a/lib/vagrant-ignition/config.rb +++ b/lib/vagrant-ignition/config.rb @@ -23,7 +23,7 @@ def finalize! @enabled = false if @enabled == UNSET_VALUE @path = nil if @path == UNSET_VALUE @drive_name = "config" if @drive_name == UNSET_VALUE - @drive_root = "./" if @drive_path == UNSET_VALUE + @drive_root = "./" if @drive_root == UNSET_VALUE @hostname = nil if @hostname == UNSET_VALUE @ip = nil if @ip == UNSET_VALUE end