Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tp-ansible
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
REIG Julien
tp-ansible
Commits
6599e89c
Commit
6599e89c
authored
1 year ago
by
OMOND Antoine
Browse files
Options
Downloads
Patches
Plain Diff
Ajout authorized keys dans root + maj README
parent
540cfc36
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+2
-1
2 additions, 1 deletion
README.md
Vagrantfile
+3
-4
3 additions, 4 deletions
Vagrantfile
with
5 additions
and
5 deletions
README.md
+
2
−
1
View file @
6599e89c
# Commandes vagrant
`vagrant up`
: monter toutes les VM définies dans le
`Vagrantfile`
.
\
`vagrant destroy`
: détruire toutes les VM définies dans le
`Vagrantfile`
.
\
`vagrant up/destroy <args>`
: monter/détruire la ou les VMs spécifiées.
`vagrant up <args>`
: monter la ou les VMs spécifiées.
`vagrant destroy <args>`
: détruire la ou les VMs spécifiées.
This diff is collapsed.
Click to expand it.
Vagrantfile
+
3
−
4
View file @
6599e89c
...
...
@@ -77,8 +77,7 @@ Vagrant.configure("2") do |config|
# Enable provisioning with a shell script. Additional provisioners such as
# Ansible, Chef, Docker, Puppet and Salt are also available. Please see the
# documentation for more information about their specific syntax and use.
# config.vm.provision "shell", inline: <<-SHELL
# apt-get update
# apt-get install -y apache2
# SHELL
config
.
vm
.
provision
"shell"
,
inline:
<<-
SHELL
cp /home/vagrant/.ssh/authorized_keys /root/.ssh/authorized_keys
SHELL
end
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment