Path: blob/master/src/packages/frontend/compute/cloud/hyperstack/image.tsx
1503 views
import SelectImage, {1ImageDescription,2ImageLinks,3} from "@cocalc/frontend/compute/select-image";45export default function Image(props) {6const { state = "deprovisioned" } = props;7return (8<div>9<div style={{ color: "#666", marginBottom: "5px" }}>10<b>Image</b>11</div>12{(state == "deprovisioned" || state == "off") && (13<div style={{ color: "#666", marginBottom: "5px" }}>14Select compute server image. You will be able to use sudo with no15password and can install anything into the Ubuntu 22.04 Linux image.16Clicking "advanced" may show additional less tested or older options.17</div>18)}19<SelectImage {...props} gpu={true} arch={"x86_64"} warnBigGb={4} />20<div style={{ color: "#666", marginTop: "5px" }}>21<ImageDescription configuration={props.configuration} />22<ImageLinks23image={props.configuration.image}24style={{ flexDirection: "row" }}25/>26{!(state == "deprovisioned" || state == "off") && (27<div style={{ color: "#666", marginTop: "5px" }}>28You can only edit the image when server is deprovisioned or off.29</div>30)}31</div>32</div>33);34}353637