Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ifup and ifdown have been deprecated in Ubuntu 18.04 LTS #867

Closed
lasselehtinen opened this issue May 21, 2018 · 1 comment
Closed

ifup and ifdown have been deprecated in Ubuntu 18.04 LTS #867

lasselehtinen opened this issue May 21, 2018 · 1 comment

Comments

@lasselehtinen
Copy link
Contributor

lasselehtinen commented May 21, 2018

Versions

  • Vagrant: Vagrant 2.0.1
  • Provider: Virtualbox 5.2.8 r1210009
  • Homestead: Laravel Homestead 7.6.0

Host operating system

Windows 10 64-bit

Homestead.yaml

ip: 192.168.10.11
memory: 2048
cpus: 1
provider: virtualbox
authorize: ~/.ssh/id_rsa.pub
keys:
    - ~/.ssh/id_rsa
folders:
    -
        map: 'C:\Users\lasleh\Development\project'
        to: /home/vagrant/code
sites:
    -
        map: project.development
        to: /home/vagrant/code/public
databases:
    - homestead
name: project
hostname: project

Vagrant destroy & up output

https://gist.github.com/lasselehtinen/c5b03745c98759e5bf582842cea526f4

Expected behavior

Vagrant should load the virtual machine.

Actual behavior

I am getting an error about missing ifup/ifdown commands. I can fix the issue by running vagrant ssh , apt-get install ifupdown and then vagrant reload. If you check the release notes for Ubuntu 18.04 LTS, you can see that the ifup and ifdown have been deprecated. Seems like settler was just upgraded to include this in the box version 6.0.

I guess temporary solution would to install ifupdown in settler or in the long run adjust the provisioning so that it uses netplan.io instead.

https://github.com/laravel/settler/releases/tag/v6.0.0

λ vagrant box update
==> digijakelija: Checking for updates to 'laravel/homestead'
    digijakelija: Latest installed version: 6.0.0
    digijakelija: Version constraints: >= 5.2.0
    digijakelija: Provider: virtualbox
==> digijakelija: Box 'laravel/homestead' (v6.0.0) is running the latest version.

References

hashicorp/vagrant#9213
https://wiki.ubuntu.com/BionicBeaver/ReleaseNotes#New_since_16.04_LTS

@svpernova09
Copy link
Contributor

This is not a Homestead issue, but a Vagrant issue with 18.04 Ubuntu. Since you're on Windows you should stick to Vagrant version 2.0.3

Related #859 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants