maier / vagrant-alpine

Vagrant plugin for Alpine Linux Guest
MIT License
137 stars 10 forks source link

alpine 3.5 support: small mod needed #20

Open raarts opened 7 years ago

raarts commented 7 years ago

Hi,

I create a vagrant box for alpine 3.5 using your template, found that two more lines are needed, nfs_client.rb needs to look like this:

            comm.sudo('apk update')
            comm.sudo('apk add --upgrade nfs-utils')
            comm.sudo('rc-update add rpcbind')
            comm.sudo('rc-service rpcbind start')
            comm.sudo('rc-update add rpc.statd')
            comm.sudo('rc-service rpc.statd start')

so two lines for rpcbind needed to be added.My first exposure to Ruby, but this worked. Could not find out how to detect alpine version number to make this only apply to alpine 3.5, but anyway.

Thanks for this plugin and the boxes.

maier commented 7 years ago

I can't seem to recreate the issue. When I vagrant up an alpine 3.5 box it installs the NFS client as usual and rpcbind is started as part of rpc.statd. I've never had to start it separately or add it as a service. What box are you using in your vagrantfile?