Yandex Cloud
- Yandex CLI Install
- Create compute_instance +Official.Guide
- Add SSH Key / Service Key
- Data Sources
- Labels
Установка Yandex CLI
Установка CLI в /opt/yc, файл ~/.bashrc Неизменён
curl https://storage.yandexcloud.net/yandexcloud-yc/install.sh | \
bash -s -- -i /opt/yc -n
Добавление конфига в ~/.bashrc
echo -e "\n# Yandex Cloud CLI\n\
if [ -f '/opt/yc/path.bash.inc' ]; then source '/opt/yc/path.bash.inc'; fi\n\
if [ -f '/opt/yc/completion.bash.inc' ]; then source '/opt/yc/completion.bash.inc'; fi\n\
" >> ~/.bashrc