목록Vagrant (5)
삽더하기실수
Ubuntu Vagarnt 파일 설정중 오류가 나온다면 오류화면 Vagrant assumes that this means the command failed! umount /mnt Stdout from the command: Stderr from the command: umount: /mnt: not mounted 해당 명령어를 추가해준다. cfg.vbguest.auto_update = false
Vagrantfile Vagrant_API_Version = "2" Vagrant.configure(Vagrant_API_Version) do |config| config.vm.define "ansible-node01" do |cfg| cfg.vm.box = "centos/7" cfg.vbguest.installer_hooks[:before_install] = ["yum install -y epel-release", "sleep 1"] cfg.vbguest.installer_options = { allow_kernel_upgrade: false, enablerepo: true } cfg.vm.provider :virtualbox do |vb| vb.name = "Ansible-node01(Udemy-Bl..
오류 전체 내용 ==> ansible-server: Destroying VM and associated drives... C:/HashiCorp/Vagrant/embedded/gems/gems/i18n-1.14.1/lib/i18n.rb:210:in `translate': wrong number of arguments (given 2, expected 0..1) (ArgumentError) from C:/Users/wjral/.vagrant.d/gems/3.1.3/gems/vagrant-vbguest-0.21.0/lib/vagrant-vbguest/middleware.rb:24:in `call' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.3.7/lib..
오류 내용 [ansible-server] No Virtualbox Guest Additions installation found. Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.navercorp.com * extras: mirror.kakao.com * updates: mirror.kakao.com Resolving Dependencies --> Running transaction check ---> Package centos-release.x86_64 0:7-8.2003.0.el7.centos will be updated ---> Package centos-release.x86_64 0:7-9..
"Vagrant will use to store local environment-specific state is not accessible. The directory specified as the local data directory must be both readable and writable for the user that is running Vagrant" 해당 오류 발생시 명렴 프롬포트를 관리자 권한으로 실행 했는지 확인해보자 필자는 관리자 권한으로 변경후 정상적으로 실행되었다.