diff --git a/doc/vagrant-dev-env.rst b/doc/vagrant-dev-env.rst
index 8ed3d3e4c91a50114dba23f8d3e8222b8d520db0..6e6267797d7aac88e0d11568093bb9ebbf8a1dd3 100644
--- a/doc/vagrant-dev-env.rst
+++ b/doc/vagrant-dev-env.rst
@@ -149,7 +149,7 @@ On Ubuntu 14.04 or later::
 Validate OpenStack is operational::
 
     kolla-ansible post-deploy
-    source /etc/kolla/admin-openrc.sh
+    . /etc/kolla/admin-openrc.sh
     openstack user list
 
 Or navigate to http://172.28.128.254/ with a web browser.
diff --git a/tools/deploy_aio.sh b/tools/deploy_aio.sh
index bddb34e5c904966932cbec07256d8645ee14f48a..1ae96d78f14dcf5d3a574402827c5df99138d5d1 100755
--- a/tools/deploy_aio.sh
+++ b/tools/deploy_aio.sh
@@ -29,7 +29,7 @@ function copy_logs {
 function sanity_check {
     # Wait for service ready
     sleep 15
-    source /etc/kolla/admin-openrc.sh
+    . /etc/kolla/admin-openrc.sh
     # TODO(Jeffrey4l): Restart the memcached container to cleanup all cache.
     # Remove this after this bug is fixed
     # https://bugs.launchpad.net/oslo.cache/+bug/1590779