Merge pull request #58 from ashcrow/RHBZ-1728062

rhcos-toolbox: Use default authfile on pull
diff --git a/rhcos-toolbox b/rhcos-toolbox
index 7467f79..1729f16 100755
--- a/rhcos-toolbox
+++ b/rhcos-toolbox
@@ -71,8 +71,8 @@
 }
 
 image_pull() {
-    if ! sudo podman pull "$TOOLBOX_IMAGE"; then
-        read -r -p "Would you like to authenticate to registry: '${REGISTRY}' and try again? [y/N] "
+    if ! sudo podman pull --authfile /var/lib/kubelet/config.json "$TOOLBOX_IMAGE"; then
+        read -r -p "Would you like to manually authenticate to registry: '${REGISTRY}' and try again? [y/N] "
 
         if [[ $REPLY =~ ^([Yy][Ee][Ss]|[Yy])+$ ]]; then
             sudo podman login "${REGISTRY}"