> For the complete documentation index, see [llms.txt](https://docs.verge.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.verge.io/knowledge-base/vi/virtual-machines/making-a-nonpersistent-vm.md).

# Tạo VM không bền

Cách tạo một máy ảo không bền trong VergeOS, máy sẽ quay lại trạng thái ban đầu sau mỗi lần khởi động lại, lý tưởng cho môi trường VDI.

Một VM không lưu trạng thái sẽ trở về trạng thái ban đầu sau khi khởi động lại, loại bỏ mọi thay đổi được thực hiện trong phiên làm việc. Điều này hữu ích cho các môi trường VDI (Virtual Desktop Infrastructure) nơi hệ thống nên được đặt lại sau mỗi lần sử dụng.

## Các bước để tạo một VM không lưu trạng thái:

1. Đi tới **bảng điều khiển VM**.
2. Tắt VM bằng cách chọn **Hành động > Tắt nguồn** hoặc sử dụng **nút Nguồn**:

{% hint style="info" %}
Điều này đảm bảo dữ liệu ở trạng thái tốt để sao chép.
{% endhint %}

3. Nhấp vào **Sao chép** nút bên cạnh ổ đĩa chính trên VM. ![nonpersistent-2.png](https://2897712312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQZBMFpokMv2vWTIRbFzA%2Fuploads%2Fgit-blob-9f7210730f920fba8c747dd512f79e19d289e287%2Fnon-persistent-copy.png?alt=media)
4. Thay đổi **Loại phương tiện** sang **Không lưu trạng thái** và nhấp **Gửi** ở phía dưới.
5. Nhấp vào **Chỉnh sửa** biểu tượng ![edit icon pencil](https://2897712312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQZBMFpokMv2vWTIRbFzA%2Fuploads%2Fgit-blob-c0e754b7d71489446492e77bda6f2a97cbc7bac3%2Fedit-icon-pencil.png?alt=media) cho bản gốc **Loại phương tiện của đĩa**.

{% hint style="info" %}
ổ đĩa mới sẽ hiển thị một **Loại phương tiện** của **Không lưu trạng thái**. Mọi thay đổi được thực hiện trên ổ đĩa này sẽ được hoàn nguyên khi VM khởi động lại.
{% endhint %}

6. Bỏ chọn **Đã bật** ô chọn.
7. Khởi động VM bằng cách chọn **Bật nguồn** từ menu bên trái hoặc nhấp vào **nút Phát**:

Điều này sẽ khởi động VM bằng ổ đĩa không lưu trạng thái. Ổ đĩa có thể ghi hoàn toàn trong phiên làm việc, nhưng mọi thay đổi sẽ bị loại bỏ khi khởi động lại, đưa VM trở về trạng thái ban đầu.

{% hint style="warning" %}
**Không xóa ổ đĩa gốc. Nó sẽ không chiếm thêm dung lượng nhờ tính năng khử trùng lặp.**
{% endhint %}

***

{% hint style="info" %}
**Thông tin tài liệu**

* Cập nhật lần cuối: 2024-08-29
* Phiên bản vergeOS: 4.12.6
  {% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.verge.io/knowledge-base/vi/virtual-machines/making-a-nonpersistent-vm.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
