diff --git a/VERSION b/VERSION index 9c4d21f..a4c528c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.1.52 +0.1.53 diff --git a/formula/ih-core.rb b/formula/ih-core.rb index 88fc1f4..b3b6daf 100644 --- a/formula/ih-core.rb +++ b/formula/ih-core.rb @@ -1,5 +1,5 @@ class IhCore < Formula - VERSION="0.1.52" + VERSION="0.1.53" desc "Brew formula for installing core tools used at Included Health engineering." homepage "https://github.com/ConsultingMD/homebrew-ih-public" license "CC BY-NC-ND 4.0" diff --git a/lib/core/rancher/step.sh b/lib/core/rancher/step.sh index c9f7398..7a5c3f0 100644 --- a/lib/core/rancher/step.sh +++ b/lib/core/rancher/step.sh @@ -59,7 +59,9 @@ function ih::setup::core.rancher::test() { elif ! grep -q "vz" "$PLIST_DST"; then ih::log::debug "The PLIST file needs to be updated to use 'vz' for M3 Macs." return 1 - # TODO: figure out how to check virtual-machine.mount.type (there's no rdctl get) + elif ! grep -q "virtiofs" "$PLIST_DST"; then + ih::log::debug "The PLIST file needs to be updated to use 'virtiofs' for M3 Macs." + return 1 fi fi @@ -167,7 +169,7 @@ function ih::setup::core.rancher::install() { elif ! grep -q "vz" "$PLIST_DST"; then ih::log::debug "Updating PLIST to use 'vz' for Virtualization for M3 Macs." sudo sed -i '' 's/qemu<\/string>/vz<\/string>/g' "$PLIST_DST" - $HOME/.rd/bin/rdctl set --experimental.virtual-machine.mount.type virtiofs + sudo sed -i '' 's/reverse-sshfs<\/string>/virtiofs<\/string>/g' "$PLIST_DST" fi fi