Skip to content

Instantly share code, notes, and snippets.

View ezr-ondrej's full-sized avatar

Ondřej Ezr ezr-ondrej

View GitHub Profile
@ezr-ondrej
ezr-ondrej / audited_attributes.adoc
Last active April 8, 2022 07:31
Satellite Audited attributes (6.11 snap 5)

Host Managed

Attribute Description

Name

Host FQDN, e.g. my-host.example.com

Root pass

Returns host’s encrypted password hash

Architecture

Returns architecture assigned to the host or nil if no architecture is assigned (unmanaged host)

Operatingsystem

alias of os property

Ptable

Returns a partition table object assigned to the host, returns nil if none is found

Medium

Returns installation medium associated with the host

@ezr-ondrej
ezr-ondrej / input-rake-task.sh
Last active April 28, 2022 13:59
Auditable attributes
foreman-rake audits:list_attributes
@ezr-ondrej
ezr-ondrej / lighthouse_RH_dev.json
Last active February 9, 2023 08:08
AzureLighthouse-oezrPrivate
{
"$schema": "https://schema.management.azure.com/schemas/2019-08-01/subscriptionDeploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"mspOfferName": {
"type": "string",
"metadata": {
"description": "Specify a unique name for your offer"
},
"defaultValue": "Provisioning CRC"
@ezr-ondrej
ezr-ondrej / pageQueries.js.diff
Last active February 27, 2024 09:59
rtk pagination
diff --git a/src/Components/Blueprints/BlueprintsSideBar.tsx b/src/Components/Blueprints/BlueprintsSideBar.tsx
index 1992cd8..e607b0a 100644
--- a/src/Components/Blueprints/BlueprintsSideBar.tsx
+++ b/src/Components/Blueprints/BlueprintsSideBar.tsx
@@ -71,15 +71,25 @@ const BlueprintsSidebar = ({
}, [debouncedSearch]);
const [pageBlueprint, setPageBlueprint] = useState(1);
const perPageBlueprint = 4;
- const {
- data: blueprintsData,