"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const react_1 = tslib_1.__importDefault(require("react"));
const react_core_1 = require("@patternfly/react-core");
const use_translation_wrapper_1 = require("../../hooks/use-translation-wrapper");
const react_i18next_1 = require("react-i18next");
const DiscoveryInstructions = ({ showAllInstructions = false, isSNO = false, }) => {
    const { t } = (0, use_translation_wrapper_1.useTranslation)();
    return (react_1.default.createElement(react_1.default.Fragment, null,
        react_1.default.createElement(react_core_1.Content, { component: "h3" }, t('ai:Adding hosts instructions')),
        react_1.default.createElement(react_core_1.Content, { component: "ol", type: react_core_1.OrderType.number, style: { marginLeft: 0 } },
            react_1.default.createElement(react_core_1.Content, { component: "li", hidden: !showAllInstructions }, t('ai:Click the Add host button.', { count: +isSNO })),
            react_1.default.createElement(react_core_1.Content, { component: "li", hidden: !showAllInstructions }, t('ai:Configure the SSH key and proxy settings after the modal appears (optional).')),
            react_1.default.createElement(react_core_1.Content, { component: "li" }, t('ai:Download the Discovery ISO (onto a USB drive, attach it to a virtual media, etc.) and use it to boot your hosts.')),
            react_1.default.createElement(react_core_1.Content, { component: "li" },
                react_1.default.createElement(react_i18next_1.Trans, { t: t, components: { bold: react_1.default.createElement("span", { className: "pf-v6-u-font-weight-bold" }) }, i18nKey: "ai:Keep the Discovery ISO media connected to the device throughout the installation process and set each host to boot <bold>only one time</bold> from this device. " })),
            react_1.default.createElement(react_core_1.Content, { component: "li" }, t('ai:Booted hosts should appear in the host inventory table. This may take a few minutes.')))));
};
exports.default = DiscoveryInstructions;
//# sourceMappingURL=DiscoveryInstructions.js.map