... | ... |
@@ -3,12 +3,23 @@ |
3 | 3 |
An [Ansible][] [playbook][] for setting up a [desktop][] on [Debian][]-based |
4 | 4 |
[Linux distribution][]s. |
5 | 5 |
|
6 |
+A [`Vagrantfile`][] is provided, try it out with the usual [`vagrant up`][]. |
|
7 |
+The [VirtualBox][] [Vagrant provider][] is configured to show the GUI. Some |
|
8 |
+[Vagrant box][]es have a locked `vagrant` user, run `vagrant ssh -c 'echo |
|
9 |
+vagrant:vagrant | sudo chpasswd'` to unlock and set the password to `vagrant`. |
|
10 |
+After login, run `startx` to start the graphical environment. |
|
11 |
+ |
|
6 | 12 |
[`ansible-playbook-desktop`]: https://git.rcrnstn.net/rcrnstn/ansible-playbook-desktop |
7 | 13 |
[Ansible]: https://docs.ansible.com/ansible |
8 | 14 |
[playbook]: https://docs.ansible.com/ansible/latest/user_guide/playbooks.html |
9 | 15 |
[desktop]: https://en.wikipedia.org/wiki/Desktop_computer |
10 | 16 |
[Debian]: https://en.wikipedia.org/wiki/Debian |
11 | 17 |
[Linux distribution]: https://en.wikipedia.org/wiki/Linux_distribution |
18 |
+[`Vagrantfile`]: https://www.vagrantup.com/docs/vagrantfile |
|
19 |
+[`vagrant up`]: https://www.vagrantup.com/docs/cli/up.html |
|
20 |
+[VirtualBox]: https://en.wikipedia.org/wiki/VirtualBox |
|
21 |
+[Vagrant provider]: https://www.vagrantup.com/docs/providers |
|
22 |
+[Vagrant box]: https://www.vagrantup.com/docs/boxes |
|
12 | 23 |
|
13 | 24 |
## License |
14 | 25 |
|
15 | 26 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,13 @@ |
1 |
+Vagrant.configure(2) do |config| |
|
2 |
+ config.vm.box = 'debian/bullseye64' # Debian 11 |
|
3 |
+ # config.vm.box = 'ubuntu/jammy64' # Ubuntu 22.04 LTS |
|
4 |
+ |
|
5 |
+ config.vm.provider 'virtualbox' do |v| |
|
6 |
+ v.gui = true |
|
7 |
+ end |
|
8 |
+ |
|
9 |
+ config.vm.provision 'ansible' do |ansible| |
|
10 |
+ ansible.compatibility_mode = '2.0' |
|
11 |
+ ansible.playbook = 'desktop.yml' |
|
12 |
+ end |
|
13 |
+end |