install-vagrant | Installation scripts and instructions
kandi X-RAY | install-vagrant Summary
kandi X-RAY | install-vagrant Summary
Installation scripts and instructions for setting up local Tessera environment with Vagrant
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of install-vagrant
install-vagrant Key Features
install-vagrant Examples and Code Snippets
Community Discussions
Trending Discussions on install-vagrant
QUESTION
I am re-installing vagrant
on my local machine unsuccessfully. Initially, I had vagrant
downloaded, installed and running well, but decided to uninstall it. My uninstall was as follows:
ANSWER
Answered 2020-Sep-30 at 22:54As you just removed the files instead of using apt-get
or dpkg
to uninstall the package, the package management is not aware of your manual removal, and so apt-get
and dpkg
still think the newest version is already installed, and so do nothing.
apt-get --reinstall install vagrant
should solve this.
QUESTION
- Vagrant 2.0.1
- Vagrant Box: ubuntu/xenial64
- Provisioning: ansible
Vagrantfile
...ANSWER
Answered 2018-May-04 at 08:51https://stackoverflow.com/a/38559856/2323764
I found a solution linked above but I had to make modifications due systemd
standards and recommendations.
systemd
unit changes does not belong into/lib/systemd
while these changes can be overwritten by package and / or distribution updates at any time. Changes of units has to be made in copies of the units in/etc/systemd
.- copy
/lib/systemd/system/nginx.service
to
/etc/systemd/system/nginx.service
- change the setting
WantedBy
in the section[Install]
tovagrant.mount
- Be aware that the name
vagrant.mount
depends on the path mounted by vagrant into the box. If you mountvagrant/somepath
the mount is namedvagrant-somepath.mount
. - Run the commands as follows to rewrite the unit's targets files and other necessary dependencies:
systemctl daemon-reload
systemctl disable nginx.service
systemctl enable nginx.service
This leads to my ansible handler as follows:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install install-vagrant
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page