import Button from "components/buttons/Button";
import Modal from "components/Modal";
import React from "react";
const baseClass = "create-linux-key-modal";
interface ICreateLinuxKeyModal {
isTriggeringCreateLinuxKey: boolean;
onExit: () => void;
}
const CreateLinuxKeyModal = ({
isTriggeringCreateLinuxKey,
onExit,
}: ICreateLinuxKeyModal) => {
const renderModalBody = () => (
<>
-
Wait 30 seconds for the Enter disk encryption passphrase pop-up
to open.
-
In the pop-up, enter the passphrase used to encrypt your device during
setup.
-
Wait for Fleet to create a new key. This process may take up to 10
minutes.
-
Close this window and select Refetch on your My device{" "}
page. This shares the new key with your organization.
>
);
return (
{renderModalBody()}
);
};
export default CreateLinuxKeyModal;