mfsbsd_install_via_linux_lite
mfsbsd_install_via_linux_lite
MfsBSD. Installing and booting MfsBSD from running Linux, via grub.
Feel free to share your feedback and report issues.
Contributions are welcome.
Synopsis
This role acts as a runner for a single install_mfsbsd_iso.sh
script.
(That's why there is lite
in the role name too)
This script to fetch MfsBSD ISO to boot partition of Linux.
It also modifies the grub settings so that the machine can start MfsBSD on its own after a reboot.
The script itself determines the network settings of the machine and transfers them during the subsequent reboot.
Variables
See the defaults/main.yml
and examples in vars.
Workflow
- Install the role
shell> ansible-galaxy role install click0.mfsbsd_install_via_linux_lite
- Look variables, e.g. in
defaults/main.yml
You can override them in the playbook and inventory.
- Create playbook and inventory
shell> cat install_mfsbsd_via_linux.yml
- hosts: linux_server
gather_facts: false
vars:
# mil_mfsbsd_iso_url: '' # 'https://mfsbsd.vx.sk/files/iso/12/amd64/mfsbsd-12.2-RELEASE-amd64.iso'
# mil_mfsbsd_iso_hash: '' # '00eba73ac3a2940b533f2348da88d524'
# mil_mfsbsd_password: '' # default - 'mfsroot'
# mil_iface: '' # vtnet0 or em0, default in MfsBSD - ext1
# mil_need_free_space: '' # default '80' # in megabytes!
# mil_hostname: 'mfsbsd-' # 'YOURHOSTNAME'
roles:
- click0.mfsbsd_install_via_linux_lite
Commented options you may need.
shell> cat hosts
[linux_server]
<linux_server-ip-or-fqdn>
[linux_server:vars]
# ansible_python_interpreter=/usr/bin/python3
# ansible_ssh_common_args='-o ProxyCommand="ssh -W %h:%p -q my-bastion-host"'
# or
# ansible_ssh_common_args='-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null'
Dependencies
None.
Further use
You may need another role to install FreeBSD on the root with ZFS.
License
BSD 3-Clause
Author:
- Vladislav V. Prodan
<github.com/click0>
🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Show your support
Give a ⭐ if this project helped you!
Installing MfsBSD for its subsequent boot and server reboot.
ansible-galaxy install click0/ansible-mfsbsd-install-via-linux-lite