-
Notifications
You must be signed in to change notification settings - Fork 41
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
Added AzLinux-dnf support for RedisPackageInstallation #417
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Rakesh <[email protected]>
src/VirtualClient/VirtualClient.Dependencies/RedisPackageInstallation.cs
Outdated
Show resolved
Hide resolved
@@ -55,22 +55,10 @@ | |||
} | |||
}, | |||
{ | |||
"Type": "WgetPackageInstallation", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you tested the changes in ubuntu?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There seems to be some issue with Redis, entering protected mode in ubuntu even without these changes, but the changes were running fine on AZ Linux.
src/VirtualClient/VirtualClient.Dependencies/RedisPackageInstallation.cs
Show resolved
Hide resolved
@@ -154,5 +160,35 @@ await this.systemManager.PackageManager.RegisterPackageAsync(redisPackage, cance | |||
.ConfigureAwait(false); | |||
|
|||
} | |||
|
|||
private async Task InstallOnAzLinuxAsync(EventContext telemetryContext, CancellationToken cancellationToken) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
have you tried tdnf?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tdnf also works, is it preferred!?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
on AzLinux yes, on RHEL still use dnf. You don;t have to change it right now, you could add a comment that tdnf also works. I heard AzLinux eventually wants to move to tdnf entirely
@@ -154,5 +160,35 @@ await this.systemManager.PackageManager.RegisterPackageAsync(redisPackage, cance | |||
.ConfigureAwait(false); | |||
|
|||
} | |||
|
|||
private async Task InstallOnAzLinuxAsync(EventContext telemetryContext, CancellationToken cancellationToken) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this would also work on RHEL/Fedora distros?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, but I haven't tested these cases. Should I also include RHEL/Fedora distros?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think so, Redis is important enough that we need more than ubuntu and AzLinux
No description provided.