Hello.
I'm trying to make custom FreeBSD install on VPS from installation ISO.
All installation steps are available in ansible playbook, but it needs python interpreter installed.
That's how I run sshd there:
Is it possible to install python package in this environment, to run my custom ansible FreeBSD installation playbook?
I'm trying to make custom FreeBSD install on VPS from installation ISO.
All installation steps are available in ansible playbook, but it needs python interpreter installed.
That's how I run sshd there:
Bash:
#!/bin/sh
mkdir /tmp/etc
mount_unionfs /tmp/etc /etc
echo 'ifconfig_vtnet0="123.123.123.123/24"' > /etc/rc.conf.d/network
echo 'defaultrouter="123.123.123.1"' > /etc/rc.conf.d/routing
echo 'nameserver 8.8.8.8' > /etc/resolv.conf
echo 'nameserver 8.8.4.4' >> /etc/resolv.conf
service netif restart
service routing restart
echo "UseDNS no" >> /etc/ssh/sshd_config
echo "PasswordAuthentication yes" >> /etc/ssh/sshd_config
echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
echo MySecretPassw0rd | pw mod user root -h 0
service sshd onestart
Is it possible to install python package in this environment, to run my custom ansible FreeBSD installation playbook?
Last edited: