# Ввод тонких клонов в домен для Astra Linux

**Все действия выполняются в ОС золотого образа.**

Создать файл скрипта postinstall.sh с содержанием:

```bash
sudo astra-ad-sssd-client -d 'нужный_домен' -u 'логин_доменной_уч'  -p 'пароль_доменной_уч' -y; sudo rm -f /путь/postinstall.sh; sudo reboot
```

Добавить разрешение на запуск созданному файлу, например:

```bash
sudo chmod +x /home/astra/postinstall.sh
```

В Actor Configuration Tool на вкладке Advanced указать:

```bash
sh /путь/postinstall.sh
```

Например:<br>

<figure><img src="/files/NurR3tEqCS8cNWLq1fik" alt=""><figcaption></figcaption></figure>

Применить новую конфигурацию нажав **Register with UDS**.

Выполнить публикацию на брокере.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kb.pvhostvm.ru/hostvm-vdi/hostvm-vdi-admin-guide/base-image-preparation/vvod-tonkikh-klonov-v-domen-dlya-astra-linux.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
