GithubHelp home page GithubHelp logo

CentOS 7 support? about walinuxagent HOT 4 CLOSED

azure avatar azure commented on June 10, 2024
CentOS 7 support?

from walinuxagent.

Comments (4)

deltaman avatar deltaman commented on June 10, 2024

Hi,

I am trying to install the agent within CentOS 7, steps that I took:
mkdir /install
yum install git
git clone https://github.com/Azure/WALinuxAgent walinuxagent
cd walinuxagent
cp waagent /usr/sbin
cd /usr/sbin
waagent -install
gave me an error about network-manager, I removed it.
waagent -install
gave me an error about python-pyasn1, I installed it via yum.
waagent -install
gave me an error about route being missing, I am unable to install this because it can not be found by yum.

What now?

Regards,
Hugo

from walinuxagent.

deltaman avatar deltaman commented on June 10, 2024

It looks like that the route command is deprecated and the new one to use is:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Networking_Guide/sec-Using_the_Command_Line_Interface.html#sec-Static-Routes_and_the_Default_Gateway

Or a other way that I do not know at this time ;)

Does this mean that the WaLinuxAgent scripts need to be modified for CentOS 7?

from walinuxagent.

szarkos avatar szarkos commented on June 10, 2024

Hi Hugo,

Please install the "net-tools" package. Not sure why it's not installed by default, we should make a note in the readme:

yum install net-tools

Some day we may need to fix the agent to use the ip-route tools exclusively. I think this is an example of ensuring the agent works in as many distros as possible.

Also note that we are working to get an official CentOS7 image in the Azure Gallery soon as well.

Thanks,
Steve

from walinuxagent.

deltaman avatar deltaman commented on June 10, 2024

thx, all is working now.

from walinuxagent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.