blob: ea1267ea8bb1563b1ba88884245f1dcac9d2744b [file] [log] [blame]
#!/bin/bash
if [[ $@ =~ 'up' ]];
then
# If the operation is 'rke up' then simulate rke up operation
echo $@
touch {{ cluster_config_dir }}/kube_config_cluster.yml
elif [[ $@ =~ 'version' ]];
then
{{ app_data_path }}/downloads/rke_linux-amd64_real version
exit 0
else
{{ app_data_path }}/downloads/rke_linux-amd64_real $@
fi