Cloud-뜬구름잡기

Vagrant 로그인 및 다운로드시 로그인 요구 하거나 401오류 날때

무한열정 2025. 6. 12. 09:35

■ 로그인 오류

WARNING: This command has been deprecated and aliased to `vagrant cloud auth login`
Translation missing: en.cloud_command.command_header

Vagrant Cloud username or email: 
Password (will be hidden):
Token description (Defaults to "Vagrant login from msadev"): 
Translation missing: en.cloud_command.errors.unexpected_error

■ 401오류 발생

The box 'ubuntu/jammy64' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Vagrant Cloud, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:

URL: ["https://vagrantcloud.com/ubuntu/jammy64"]
Error: The requested URL returned error: 401

 

■ 해결방법

# 최신 Vagrant(≥ 2.4)
vagrant cloud auth logout

# 구버전은
vagrant logout

# 물리적 인증관련 정보 제거
rm -f ~/.vagrant.d/credentials