Skip to content

Compiling mofs on linux #10183

@mrhockeymonkey

Description

@mrhockeymonkey

In the latest release of powershell 7 preview 2 one of the features listed is support for compiling mofs on linux (#9834). I took this to mean that I could use a linux box to compile mofs that will later be applied to windows machines...

I spent the best part of today trying to achieve just that but sadly with little success. I am using CentOS 7.6 and have installed omi and dsc-for-linx but after having done so Get-DscResource does not return any resources

I also tried running a configuration in case it was just a bug with the output but I get the below (CertificateDSC was just one of many stabs in the dark):

At line:6 char:9
+         CertificateImport MyTrustedRoot
+         ~~~~~~~~~~~~~~~~~
Undefined DSC resource 'CertificateImport'. Use Import-DSCResource to import the resource.
+ CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : ResourceNotDefined

I know this is a work in progress but will this eventually be a possibility? If so are there any issues/milestones to watch progress towards this goal? Or is it that only the linux specific "nx" resources will ever be available on a linux host?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-DSCDesired State Configuration issuesIssue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get a

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions