openstack中windows虚拟机时间显示异常问题处理


一、问题描述

openstack创建出windows虚拟机的时候,发现时间和当前时间相差8小时,用起来很难受。
参考:https://www.cnblogs.com/hraa0101/p/11365238.html

二、元数据信息

通过设置镜像的元数据确认镜像的操作系统类型

OS Type (os_type)
The operating system installed on the image. The libvirt driver contains logic that takes different actions depending on the value of the os_type parameter of the image. For example, for os_type=windows images, it creates a FAT32-based swap partition instead of a Linux swap partition, and it limits the injected host name to less than 16 characters.

os_type=“windows”

在这里插入图片描述

总结

总结记录,设置好元数据之后使用镜像创建新的云主机时间上就正常了。

相关推荐

  1. OpenStack手动迁移虚拟

    2024-04-07 11:32:01       51 阅读
  2. openstack迁移虚拟--来自gpt

    2024-04-07 11:32:01       31 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-04-07 11:32:01       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-04-07 11:32:01       100 阅读
  3. 在Django里面运行非项目文件

    2024-04-07 11:32:01       82 阅读
  4. Python语言-面向对象

    2024-04-07 11:32:01       91 阅读

热门阅读

  1. redis的List详细介绍

    2024-04-07 11:32:01       34 阅读
  2. Ubuntu Desktop - Rename a file or folder

    2024-04-07 11:32:01       31 阅读
  3. 数据库关系数据结构

    2024-04-07 11:32:01       35 阅读
  4. 前端部署报错

    2024-04-07 11:32:01       34 阅读
  5. js怎样判断status

    2024-04-07 11:32:01       35 阅读
  6. LeetCode 60. 第k个排列

    2024-04-07 11:32:01       34 阅读